Function: snakeToCamelCase()
snakeToCamelCase(
str
:string
):string
Defined in: snakeToCamelCase.ts:11
Transforms text from snAkE_cASE
to camelCase
.
Parameters
Parameter | Type | Description |
---|---|---|
str | string | Text to transform |
Returns
string
the input st_R
as stR
Example
snakeToCamelCase('hello_world') // 'helloWorld'