Socket
Book a DemoInstallSign in
Socket

is-named-css-color

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-named-css-color

Check whether a string is a named CSS color.

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
4.8K
-2.94%
Maintainers
1
Weekly downloads
 
Created
Source

is-named-css-color Build Status

Check whether a string is a named CSS color.

Installation

npm install --save is-named-css-color

Usage

var isNamedCssColor = require('is-named-css-color')

isNamedCssColor('tomato')           // => true
isNamedCssColor('blue')             // => true
isNamedCssColor('rebeccapurple')    // => true
isNamedCssColor('foobar')           // => false

License

MIT

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

Crafted with <3 by John Otander (@4lpine).

This package was initially generated with yeoman and the p generator.

Keywords

css

FAQs

Package last updated on 03 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.