image-rights-html-generator/node_modules/camelcase-css
2024-06-03 23:21:41 +02:00
..
index-es5.js initial 2024-06-03 23:21:41 +02:00
index.js initial 2024-06-03 23:21:41 +02:00
license initial 2024-06-03 23:21:41 +02:00
package.json initial 2024-06-03 23:21:41 +02:00
README.md initial 2024-06-03 23:21:41 +02:00

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