@asmartbear/color
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Color

Extremely tiny color package (1300 bytes gzipped) for parsing, manipulating, and computing CSS colors.

In particular, supports most of the algorithms needed for WCAG accessibility guidelines, and a swatch algorithm superior to manipulating "lightness."

Development Usage

Build:

npm run build

Unit tests:

npm run test

Unit tests, refreshed live:

npm run watch

Prepare for release (e.g. run tests and bump version number):

npm run release

Publish to npm:

npm publish

Readme

Keywords

Package Sidebar

Install

npm i @asmartbear/color

Weekly Downloads

4

Version

1.0.4

License

MIT

Unpacked Size

30.7 kB

Total Files

8

Last publish

Collaborators

  • asmartbear