1.1.0 • Published 5 years ago
@queso/kebab-case v1.1.0
@queso/kebab-case
Part of a library of zero-dependency npm modules that do just one thing.
- 100% TypeScript support.
- It's not a party without
Queso
!
min + gzip | 200 bytes
Converts a string value into kebab case.
Usage
import kebabCase from '@queso/kebab-case'
kebabCase('fooBARBaz')
// => 'foo-bar-baz'
Parameters
Name | Type | Description |
---|---|---|
value | string | The string to convert. |
Returns
The kebab-cased string.
Return type
string