# prettify

`function` in `utils` · v0.9.0

<https://seedcord.org/docs/packages/utils/0.9.0/functions/prettify>

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

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

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

Parameters.

- `key` `string`
- `opts?` `PrettifyOptions`

Returns `string`.
