Skip to content
JS
Comparison

yoctocolors vs cli-color

CLI tools and terminal utilitiesPackage data 25 Sept 2026
yoctocolorsv2.2.0, 26 Jul 2026

The smallest and fastest command-line coloring package on the internet

$ npm install yoctocolors
cli-colorv2.0.4, 29 Feb 2024

Colors, formatting and other tools for the console

$ npm install cli-color
Metricyoctocolorscli-colorDifference
Weekly downloads28,098,5492,457,810yoctocolors 11.4x higher
12-month download growth+491%+1%yoctocolors +490 pts
Gzip size---
Minified size---
Dependencies05cli-color 5 more
Unpacked size13 kB39 kByoctocolors 2.9x smaller
Latest release2.2.0, 26 Jul 20262.0.4, 29 Feb 2024yoctocolors 2.4 years more recent
Releases, last 12 months10yoctocolors 1 more
First published1 Oct 202111 Jul 2011cli-color 10.2 years earlier
GitHub stars877673yoctocolors +30%
Open issues03cli-color 3 more
Open pull requests00Same
Contributors---
Commits, last 52 weeks30yoctocolors higher
TypeScript typesBundledNoneDiffers
Module formatESM only-Differs
Runtimes---
LicenseMITISCDiffers

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

yoctocolors28.1m latest weekcli-color2.5m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

yoctocolors

Major versions
  1. 0.1.01 Oct 2021
  2. 1.0.030 Jun 2022
  3. 2.0.01 Mar 2024
Last 5 releases
  1. 2.2.026 Jul 2026
  2. 2.1.219 Aug 2025
  3. 2.1.13 Jul 2024
  4. 2.1.029 Jun 2024
  5. 2.0.214 May 2024
11 releases in total, 1 in the last 12 months

cli-color

Major versions
  1. 0.1.011 Jul 2011
  2. 1.0.022 Apr 2015
  3. 2.0.09 Oct 2019
Last 5 releases
  1. 2.0.429 Feb 2024
  2. 2.0.34 Jul 2022
  3. 2.0.231 Mar 2022
  4. 2.0.115 Oct 2021
  5. 2.0.09 Oct 2019
26 releases in total, 0 in the last 12 months
yoctocolors

-

cli-color

-

yoctocolors

-

cli-color

-

  • Need no runtime dependenciesyoctocolors (yoctocolors has 0, cli-color has 5)
  • Need both ESM and CommonJS entry pointsNeither (yoctocolors: ESM only; cli-color: -)
  • Need to load it with require()Neither
  • Need TypeScript types in the package itselfyoctocolors (yoctocolors: Bundled; cli-color: None)
  • Node.js version requirementyoctocolors: >=18; cli-color: >=0.10 (engines field in package.json)
  • Need the more recent releaseyoctocolors (2.2.0 on 26 Jul 2026 vs 2.0.4 on 29 Feb 2024)
  • Higher weekly npm downloadsyoctocolors (28.1m vs 2.5m)
  • Licenseyoctocolors: MIT; cli-color: ISC

Each line is generated from the data above.

yoctocolors: yoctocolors npm registry, yoctocolors npm downloads, yoctocolors GitHub. Data fetched 25 Sept 2026.
cli-color: cli-color npm registry, cli-color npm downloads, cli-color GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.