@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    47
    • latest

Version History

Package Sidebar

Install

npm i @queso/kebab-case

Weekly Downloads

49

Version

1.1.0

License

MIT

Unpacked Size

12.3 kB

Total Files

8

Last publish

Collaborators

  • jedmao