Function kebabToPascal

Converts a kebab-case string to a PascalCase string

kebabToPascal('hello-world'); // HelloWorld
  • Parameters

    • str: string

    Returns string