@queso/kebab-case
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@queso/kebab-case

npm license Travis Build Status codecov Try @queso/kebab-case on RunKit

Part of a library of zero-dependency npm modules that do just one thing.

npm

min + gzip | 200 bytes

source

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

Package Sidebar

Install

npm i @queso/kebab-case

Weekly Downloads

74

Version

1.1.0

License

MIT

Unpacked Size

12.3 kB

Total Files

8

Last publish

Collaborators

  • jedmao