パッケージの詳細

@lavadrop/kebab-case

jedmao2.7kMIT3.0.0

Converts a string value into kebab case.

string, kebab-case, dash-case, dashes

readme

@lavadrop/kebab-case

npm license Travis Build Status codecov Try @lavadrop/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 '@lavadrop/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

更新履歴

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.0.0 (2019-10-25)

Features

  • rename library from queso to lavadrop (c8d2c15)
  • kebab-case: support consecutive uppercase words (017fd7f)
  • pick-by: introduce pickBy (63137ef)

BREAKING CHANGES

  • kebab-case: consecutive uppercase words are no longer broken up

2.0.0 (2019-10-25)

Features

  • rename library from queso to lavadrop (c8d2c15)
  • kebab-case: support consecutive uppercase words (017fd7f)
  • pick-by: introduce pickBy (63137ef)

BREAKING CHANGES

  • kebab-case: consecutive uppercase words are no longer broken up

1.1.0 (2019-07-19)

Features

  • pick-by: introduce pickBy (63137ef)

1.0.1 (2019-06-10)

Note: Version bump only for package @lavadrop/kebab-case

1.0.0 (2019-04-23)

Features

  • kebab-case: support consecutive uppercase words (017fd7f)

BREAKING CHANGES

  • kebab-case: consecutive uppercase words are no longer broken up

0.3.10 (2019-04-13)

Note: Version bump only for package @lavadrop/kebab-case

0.3.9 (2019-04-12)

Note: Version bump only for package @lavadrop/kebab-case

0.3.8 (2019-04-12)

Note: Version bump only for package @lavadrop/kebab-case

0.3.7 (2019-04-08)

Note: Version bump only for package @lavadrop/kebab-case

0.3.6 (2019-04-08)

Note: Version bump only for package @lavadrop/kebab-case

0.3.5 (2019-04-07)

Bug Fixes

  • circular default export (ea2efa1)

0.3.4 (2019-04-07)

Note: Version bump only for package @lavadrop/kebab-case

0.3.3 (2019-04-07)

Bug Fixes

  • cjs entry points, inline gzip-size svg (4b088d1)

0.3.2 (2019-04-07)

Bug Fixes

  • generate README.md files (a75a8e9)

0.3.1 (2019-04-07)

Bug Fixes

  • svg gzip-size badge to render on GitHub (cc534b8)

0.3.0 (2019-04-07)

Features

  • add module to each package.json (3a6f72f)

0.2.0 (2019-04-07)

Features

  • add source link below gzip-size badge (fad8a1a)

0.1.4 (2019-04-06)

Note: Version bump only for package @lavadrop/kebab-case

0.1.3 (2019-04-06)

Note: Version bump only for package @lavadrop/kebab-case

0.1.2 (2019-04-04)

Note: Version bump only for package @lavadrop/kebab-case