1.0.0
kebabCase("camelCase");
// => "camel-case"
kebabCase("some text");
// => "some-text"
kebabCase("some-mixed_string With spaces_underscores-and-hyphens");
// => "some-mixed-string-with-spaces-underscores-and-hyphens"
kebabCase("AllThe-small Things");
// => "all-the-small-things"
kebabCase("IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML");
// => "i-am-listening-to-fm-while-loading-different-url-on-my-browser-and-also-editing-some-xml-and-html"
It will convert the given
string
to kebab case.