Security upgrades
This commit is contained in:
28
node_modules/hyphenate-style-name/README.md
generated
vendored
Normal file
28
node_modules/hyphenate-style-name/README.md
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# hyphenate-style-name
|
||||
|
||||
[](https://www.npmjs.com/package/hyphenate-style-name)[](https://www.npmjs.com/package/hyphenate-style-name)[](https://bundlephobia.com/result?p=hyphenate-style-name)[](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.
|
||||
Reference in New Issue
Block a user