Skip to content
JS
Comparison

chalk vs yoctocolors

CLI tools and terminal utilitiesPackage data 25 Sept 2026
chalkv6.0.0, 26 Jul 2026

Terminal string styling done right

$ npm install chalk
yoctocolorsv2.2.0, 26 Jul 2026

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

$ npm install yoctocolors
MetricchalkyoctocolorsDifference
Weekly downloads411,482,63228,098,549chalk 14.6x higher
12-month download growth+34%+491%yoctocolors +456 pts
Gzip size---
Minified size---
Dependencies00Same
Unpacked size55 kB13 kByoctocolors 4.1x smaller
Latest release6.0.0, 26 Jul 20262.2.0, 26 Jul 2026Same day
Releases, last 12 months11Same
First published3 Aug 20131 Oct 2021chalk 8.2 years earlier
GitHub stars23,319877chalk 26.6x higher
Open issues00Same
Open pull requests00Same
Contributors67--
Commits, last 52 weeks103chalk 3.3x higher
TypeScript typesBundledBundledSame
Module formatESM onlyESM onlySame
RuntimesNode.js--
LicenseMITMITSame

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.

chalk415.6m latest weekyoctocolors28.1m 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.

chalk

Major versions
  1. 0.1.03 Aug 2013
  2. 1.0.023 Feb 2015
  3. 2.0.029 Jun 2017
  4. 3.0.09 Nov 2019
  5. 4.0.02 Apr 2020
  6. 5.0.026 Nov 2021
  7. 6.0.026 Jul 2026
Last 5 releases
  1. 6.0.026 Jul 2026
  2. 5.6.28 Sept 2025
  3. 5.6.017 Aug 2025
  4. 5.5.03 Aug 2025
  5. 5.4.121 Dec 2024
42 releases in total, 1 in the last 12 months

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
chalk

Chainable style methods for terminal output

yoctocolors

-

chalk
  • Chalk 5 is ESM; Chalk 4 is recommended for TypeScript or build tools.
  • Chalk is used by ~115,000 packages as of July 4, 2024.
  • Supports 256 colors and Truecolor (16 million colors).
  • No dependencies.
yoctocolors

-

  • Need no runtime dependenciesBoth
  • Module formatBoth ESM only
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementchalk: >=22; yoctocolors: >=18 (engines field in package.json)
  • Higher weekly npm downloadschalk (411.5m vs 28.1m)

Each line is generated from the data above.

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

Indexability: Indexed: 0 US searches/month across both orderings ("chalk vs yoctocolors", "yoctocolors vs chalk").