@zzzzbov/kebab-case
v0.0.0
Published
`kebabCase` strips all punctuation and converts a string to kebab-case.
Downloads
4
Readme
kebab-case
kebabCase
strips all punctuation and converts a string to kebab-case.
Examples
| Example | Result |
| ----------------- | ---------------- |
| "Hello, World!"
| "hello-world"
|
| "camelCase"
| "camel-case"
|
| "PascalCase"
| "pascal-case"
|
| "kebab-case"
| "kebab-case"
|
| "snake_case"
| "snake-case"
|
| "HTTPRequest"
| "http-request"
|