Documentation
    Preparing search index...

    Transforms string keys into camelCase format. Implements (BasaltKeyTransformer).

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Transforms a single key from any case to camelCase.

      Parameters

      • key: string

        The key string to transform into camelCase.

      Returns string

      The key string transformed into camelCase.

      transformKey('MyKeyName');
      Returns "myKeyName"
      transformKey('my-key-name');
      Returns "myKeyName"
      transformKey('my_key_name');
      Returns "myKeyName"