Function camelCase

  • Converts string to camel case.

    Differences from lodash:

    • requires string to be a string

    Contribution to minified bundle size, when it is the only function imported:

    • Lodash: 6,803 bytes
    • Micro-dash: 388 bytes

    Parameters

    • string: string

    Returns string