Quantumbraid's picture
|
download
raw
870 Bytes

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

Xet Storage Details

Size:
870 Bytes
·
Xet hash:
2975cdc2a927014e0c02a420550c90a43bd25eee74af67262da3a6042afa8800

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.