kebab-case
$kebab-case
Converts a string to kebab-case format (lowercase words separated by hyphens). Safe to use in normalize phase (non-throwing).
Input/Output Examples:
"HelloWorld"→"hello-world""API_KEY_NAME"→"api-key-name""some text here"→"some-text-here""camelCase"→"camel-case""already-kebab"→"already-kebab"