Function flatKeysToFlatScreamingSnakeCaseKeys

  • Create mapping of flattened keys to flattened screaming snake case keys.

    Type Parameters

    • ObjT

    • OptionsT extends FlattenToScreamingSnakeCaseOptions | ExactObject<FlattenToScreamingSnakeCaseOptions, OptionsT> = {
          nestedDelimiter: "__";
      }

    Parameters

    • obj: ObjT

      input object.

    • Optional options: OptionsT

      screaming snake case options.

    Returns KeyToScreamingSnakeCaseKey<FlattenObject<ObjT, ".">, OptionsT["nestedDelimiter"]>

Generated using TypeDoc