Checks if a CSS property accepts a specific value
$ npm install --save is-valid-css-value
import {isValidProperty, isValidPropertyValue} from 'is-valid-css-value';
isValidProperty('z-index'); // true
isValidPropertyValue('border-left-style', 'dotted'); // true
isValidPropertyValue('border-left-style', 'purple'); // false
MIT © Paul Molluzzo