Case Helpers

The Case Helpers module provides functionalities to convert strings to different cases.

Functions

toCamelCase

The toCamelCase function converts a string to camel case.

Parameters

  • s: string

Returns

  • string

toPascalCase

The toPascalCase function converts a string to Pascal case.

Parameters

  • s: string

Returns

  • string

toKebabCase

The toKebabCase function converts a string to kebab case.

Parameters

  • s: string

Returns

  • string

toSnakeCase

The toSnakeCase function converts a string to snake case.

Parameters

  • s: string

Returns

  • string