Bakhtina Sofya b84cb877be 1st comm 3 weken geleden
..
README.md b84cb877be 1st comm 3 weken geleden
index-es5.js b84cb877be 1st comm 3 weken geleden
index.js b84cb877be 1st comm 3 weken geleden
license b84cb877be 1st comm 3 weken geleden
package.json b84cb877be 1st comm 3 weken geleden

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