(str: string)
| 18 | export const toKebabCase = (str: string) => str.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase() |
| 19 | |
| 20 | export const humanize = (str: string): string => str.replace(/([a-z])([A-Z])/g, '$1 $2') |
| 21 | |
| 22 | /** |
| 23 | * Removes markdown and html from a string |