Converts a string to kebab-case format.
The input string.
The kebab-cased string.
kebabCase('Hello World!'); // 'hello-world' Copy
kebabCase('Hello World!'); // 'hello-world'
Converts a string to kebab-case format.