(str: string)
| 591 | * @public |
| 592 | */ |
| 593 | export function camel(str: string): string { |
| 594 | return str.replace(/-([a-z0-9])/gi, (_s: string, g: string) => |
| 595 | g.toUpperCase() |
| 596 | ) |
| 597 | } |
| 598 | |
| 599 | /** |
| 600 | * This converts camel-case to kebab case. It ONLY converts from camel to kebab. |
no outgoing calls
no test coverage detected