0.1.0 • Published 7 years ago

web-color v0.1.0

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

web-color

A simple package with lots of web color names.

npm license github-issues

nodei.co

travis-status stars forks

forks

npm.io npm.io

Features

  • Parse text with chords

Usage

import {Color} from 'web-color';
const alice = new Color(240, 248, 255);

// Or
import {color} from 'web-color'

console.log(color.WHITE);
// {red: 255, green 255, blue: 255, rgb: 'FFFFFF'}

See full color list

Install

npm install --save web-color

Scripts

  • npm run build : rm -rf dist && tsc
  • npm run test : mocha ./dist/test/*.js

Dependencies

PackageVersionDev
rgb-hex^2.1.0
@types/chai^4.1.3
@types/mocha^5.2.1
@types/node^10.3.2
chai^4.1.2
mocha^5.2.0

Contributing

Contributions welcome; Please submit all pull requests against the master branch. If your pull request contains TypeScript patches or features, you should include relevant unit tests. Please check the Contributing Guidelines for more details. Thanks!

Author

Wendly Saintil wendlysaintil@gmail.com https://twitter.com//wendlysaintil

License

0.1.0

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago