Skip to main content

Function: snakeToCamelCase()

snakeToCamelCase(str: string): string

Defined in: snakeToCamelCase.ts:11

Transforms text from snAkE_cASE to camelCase.

Parameters

ParameterTypeDescription
strstringText to transform

Returns

string

the input st_R as stR

Example

snakeToCamelCase('hello_world') // 'helloWorld'