ilya_shyian 1c5a2a8f35 +react/react-store il y a 3 ans
..
README.md 1c5a2a8f35 +react/react-store il y a 3 ans
index-es5.js 1c5a2a8f35 +react/react-store il y a 3 ans
index.js 1c5a2a8f35 +react/react-store il y a 3 ans
license 1c5a2a8f35 +react/react-store il y a 3 ans
package.json 1c5a2a8f35 +react/react-store il y a 3 ans

README.md

camelcase-css NPM Version Build Status

Convert a kebab-cased CSS property into a camelCased DOM property.

Installation

Node.js >= 6 is required. Type this at the command line:

npm install camelcase-css

Usage

const camelCaseCSS = require('camelcase-css');

camelCaseCSS('-webkit-border-radius');  //-> WebkitBorderRadius
camelCaseCSS('-moz-border-radius');     //-> MozBorderRadius
camelCaseCSS('-ms-border-radius');      //-> msBorderRadius
camelCaseCSS('border-radius');          //-> borderRadius