• Covert object keys to camelCase.

    Returns

    The camelCase result.

    Example

    toCamelCase({ hello_world: 'Hello World!' }); // { helloWorld: 'Hello World!' }
    

    Parameters

    • target: unknown

      The target object.

    Returns any