pascalToCamel

Converts a Pascalcase string to a camelcase string.

Parameters

  • str {string}: The Pascalcase string to convert.

Returns

  • {string}: The converted camelcase string.

const result = pascalToCamel('PascalCaseString');
console.log(result); // Output: KebabCaseString

Last updated