Skip to content
JS
Comparison

nanocolors vs kleur

CLI tools and terminal utilitiesPackage data 25 Sept 2026
nanocolorsv0.2.13, 9 Oct 2021

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

$ npm install nanocolors
kleurv4.1.5, 26 Jun 2022

The fastest Node.js library for formatting terminal text with ANSI colors~!

$ npm install kleur
MetricnanocolorskleurDifference
Weekly downloads270,06276,612,365kleur 283.7x higher
12-month download growth-15%+107%kleur +122 pts
Gzip size---
Minified size---
Dependencies00Same
Unpacked size14 kB20 kBnanocolors 45% smaller
Latest release0.2.13, 9 Oct 20214.1.5, 26 Jun 2022kleur 9 months more recent
Releases, last 12 months-0-
First published-8 Jul 2018-
GitHub stars8591,696kleur 2.0x higher
Open issues08kleur 8 more
Open pull requests06kleur 6 more
Contributors-16-
Commits, last 52 weeks00Same
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
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.

nanocolors270.1k latest weekkleur76.2m 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.

nanocolors

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched

kleur

Major versions
  1. 0.0.08 Jul 2018
  2. 1.0.010 Jul 2018
  3. 2.0.020 Jul 2018
  4. 3.0.015 Nov 2018
  5. 4.0.017 Jun 2020
Last 5 releases
  1. 4.1.526 Jun 2022
  2. 4.1.422 Jan 2021
  3. 4.1.330 Sept 2020
  4. 4.1.226 Sept 2020
  5. 4.1.119 Aug 2020
21 releases in total, 0 in the last 12 months
nanocolors

-

kleur

-

nanocolors

-

kleur

-

  • Need no runtime dependenciesBoth
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementnanocolors: none declared; kleur: >=6 (engines field in package.json)
  • Need the more recent releasekleur (4.1.5 on 26 Jun 2022 vs 0.2.13 on 9 Oct 2021)
  • Higher weekly npm downloadskleur (76.6m vs 270.1k)

Each line is generated from the data above.

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

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