Function snakeToCamel

Converts a snake_case string to a camelCase string

snakeToCamel('hello_world'); // helloWorld
snakeToCamel('HELLO_WORLD'); // helloWorld
  • Parameters

    • str: string

    Returns string