Converts string to kebab case.
This function convert only latin chars. The preferred purpose is to generate file or class names in your code generation tools.
kebabCase('Foo Bar'); //=> 'foo-bar' kebabCase('fooBar'); //=> 'foo-bar' kebabCase('foo_bar'); //=> 'foo-bar' kebabCase('FOO_BAR'); //=> 'foo-bar' kebabCase('Foo Bär'); //=> 'foo-bär'
The string to convert.
The kebab cased string.
Generated using TypeDoc
Converts string to kebab case.
This function convert only latin chars. The preferred purpose is to generate file or class names in your code generation tools.