How to use the css-color-names.hasOwnProperty function in css-color-names

To help you get started, we’ve selected a few css-color-names examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github morishitter / is-color / index.js View on Github external
const isKeyword = function (str) { return keywords.hasOwnProperty(str) }
const isInherit = function (str) { return str === 'inherit' }

css-color-names

A JSON Object of css color names mapped to their hex value

MIT
Latest version published 5 years ago

Package Health Score

67 / 100
Full package analysis

Popular css-color-names functions