nanocolors
v0.2.13
Published
4x times faster than chalk and use 5x less space in node_modules
Downloads
1,242,325
Maintainers
Readme
Deprecated
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
Docs
Read full docs on GitHub.