$ npm install valid-css-props
Check for the validity of a CSS property name.
npm install valid-css-props
var isValidCSSProp = require('validCSSProps');
isValidCSSProp('background-color'); // => true
isValidCSSProp('abc'); // => false
isValidCSSProp('-webkit-transition'); // => true
MIT.
© 2010 - cnpmjs.org x YWFE | Home | YWFE