nanocolors

4x times faster than chalk and use 5x less space in node_modules

MIT 27 个版本
安装
npm install nanocolors
yarn add nanocolors
pnpm add nanocolors
bun add nanocolors
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.

版本列表
0.2.13 2021-10-09
0.2.12 2021-09-28
0.2.11 2021-09-27
0.2.10 2021-09-27
0.2.9 2021-09-26
0.2.8 2021-09-26
0.2.7 2021-09-26
0.2.6 2021-09-25
0.2.5 2021-09-25
0.2.4 2021-09-25
0.2.3 2021-09-25
0.2.2 2021-09-24
0.2.1 2021-09-24
0.2.0 2021-09-24
0.1.12 2021-09-23
0.1.11 2021-09-23
0.1.10 2021-09-23
0.1.9 2021-09-23
0.1.8 2021-09-23
0.1.7 2021-09-23
0.1.6 2021-09-22
0.1.5 2021-09-22
0.1.4 2021-09-22
0.1.3 2021-09-22
0.1.2 2021-09-21
0.1.1 2021-09-21
0.1.0 2021-09-21