Package Exports
- is-css-color-name
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-css-color-name) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-css-color-name
Determine if a name is a valid CSS color name
Install
npm install --save is-css-color-name
Usage
ES2015
import isCSSColorName from 'is-css-color-name';
isCSSColorName(3);
// => false
isCSSColorName('unicorn');
// => false
isCSSColorName('aliceblue');
// => true
ES5
var isCSSColorName = require('is-css-color-name');
isCSSColorName(3);
// => false
isCSSColorName('unicorn');
// => false
isCSSColorName('aliceblue');
// => true
LICENSE
MIT © Dustin Specker