The string to convert to kebab-case.
The string in kebab-case format.
kebabCase("hello world"); // Returns: "hello-world"
kebabCase("HelloWorld"); // Returns: "hello-world"
kebabCase("hello_world"); // Returns: "hello-world"
kebabCase("helloWorld"); // Returns: "hello-world"
Generated using TypeDoc
Converts a string to kebab-case (lowercase with hyphens).