mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-12-24 23:59:00 +00:00
.. | ||
index.cjs.js | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
hyphenate-style-name
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.