rOACCT/node_modules/hyphenate-style-name49c99f97fe9aissn4frontend
rOACCT/node_modules/hyphenate-style-name
49c99f97fe9aissn4frontend
hyphenate-style-name
hyphenate-style-name
README.md
README.md
hyphenate-style-name
![npm version](https://www.npmjs.com/package/hyphenate-style-name)![npm](https://www.npmjs.com/package/hyphenate-style-name)![npm bundle size](https://bundlephobia.com/result?p=hyphenate-style-name)![Build Status](https://travis-ci.org/rexxars/hyphenate-style-name)
Hyphenates a camelcased CSS property name. For example:
- backgroundColor => background-color
- MozTransition => -moz-transition
- msTransition => -ms-transition
- color => color
Installation
bash $ npm install --save hyphenate-style-name
Usage
js var hyphenateStyleName = require('hyphenate-style-name') console.log(hyphenateStyleName('MozTransition')) // -moz-transition
License
BSD-3-Clause licensed. See LICENSE.
c4science · Help