is-css-color-name
Advanced tools
Comparing version 0.1.2 to 0.1.3
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = isCSSColorName; | ||
var _cssColorNames = require('css-color-names'); | ||
@@ -19,4 +14,4 @@ | ||
*/ | ||
function isCSSColorName(name) { | ||
module.exports = function (name) { | ||
return typeof name === 'string' ? !!_cssColorNames2.default[name.toLowerCase()] : false; | ||
} | ||
}; |
{ | ||
"name": "is-css-color-name", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Determine if a name is a valid CSS color name", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4279
11