Syllabus/themes/piratecare/node_modules/camelcase-css
Marcell Mars c832f9bfdb hugo stuff... 2020-03-05 05:10:52 +01:00
..
README.md hugo stuff... 2020-03-05 05:10:52 +01:00
index-es5.js hugo stuff... 2020-03-05 05:10:52 +01:00
index.js hugo stuff... 2020-03-05 05:10:52 +01:00
license hugo stuff... 2020-03-05 05:10:52 +01:00
package.json hugo stuff... 2020-03-05 05:10:52 +01:00

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