kebabCase
kebabCase(target)
Converts target
string to kebab-case format.
ts
kebabCase("hello world"); // "hello-world"
kebabCase("helloWorld"); // "hello-world"
ts
pipe("hello world", kebabCase()); // "hello-world"
pipe("helloWorld", kebabCase()); // "hello-world"