valid-css-props

Check for the validity of a CSS property name.

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.