# prettify

`function` in `utils` · v0.8.6-next.0

<https://docs.seedcord.org/packages/utils/0.8.6-next.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`.
