Skip to content

About

Hyphenates a camelcased CSS property name

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

hyphenate-style-name

npm versionBuild StatusCoverage StatusCode Climate

Hyphenates a camelcased CSS property name. For example:

  • backgroundColor => background-color
  • MozTransition => -moz-transition
  • msTransition => -ms-transition
  • color => color

Installation

$ npm install --save hyphenate-style-name

Usage

var hyphenateStyleName = require('hyphenate-style-name');

console.log(hyphenateStyleName('MozTransition')); // -moz-transition

License

BSD-3-Clause licensed. See LICENSE.

About

Hyphenates a camelcased CSS property name

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages