kebabToCamel
Converts a snake_case
string to a camelCase
string.
Parameters
str
{string}: Thekebabcase
string to convert.
Returns
{string}: The converted
CamelCase
string.
const result = kebabToCamel('kebab-case-string');
console.log(result); // Output: kebabCaseString
Last updated