Skip to content
Functionutilsv0.8.17

prettify

Converts a string from any common naming convention to human-readable format. Accepts camelCase, PascalCase, snake_case, and kebab-case input.

prettify(
    key: string,
    opts?: PrettifyOptions
): string