$ npm install nanocolors
DEPRECATED: Use
picocolors
instead.
It is 3 times smaller and 50% faster.
The space in node_modules including sub-dependencies:
- nanocolors 16 kB
+ picocolors 7 kB
Library loading time:
- nanocolors 0.885 ms
+ picocolors 0.470 ms
Benchmark for complex use cases:
- nanocolors 1,088,193 ops/sec
+ picocolors 1,772,265 ops/sec
Read full docs on GitHub.
© 2010 - cnpmjs.org x YWFE | Home | YWFE