GitHub

ansi-styles

ANSI escape codes for styling strings in the terminal

npm says

912,146,402

per week

Every tarball fetch: mirrors, scanners, CI and people.

real installs

high confidence

≈ 912M

per week

Mirror spikes and crawlers removed. CI and dependency installs still count, so this is not a head count.

noise under 1% of npm's count, so nearly all of it counts. noise real installs

Why this estimate

With JavaScript on, this lists what the filter found for this package.

Most used major version: 4, not the latest one, with 41% of last week's downloads above the crawler floor. Most used single version: 4.3.0.

Snapshot from the daily build of Nov 9, 2026, last 7 days of npm data. With JavaScript on, this page recomputes it live from the npm API.

How many people use ansi-styles?

npm counted 912,146,402 downloads of ansi-styles in the last 7 days. Nobody can count people exactly, npm included: it does not record who downloaded what. After removing mirror spikes and crawlers, about 912M look like real installs. At this scale most of them come from CI, builds and other packages that depend on ansi-styles, so the number of people behind them is far smaller.

Is ansi-styles still maintained?

Most likely yes, going by its releases. The latest version, 7.0.0, came out on Jul 26, 2026. The last 12 months saw 1 stable release. It was first published on Jul 31, 2013. npm lists 1 maintainer.

Is ansi-styles still used?

Downloads with publish spikes removed are up 30% over 3 months and up 97% over 11 months. For scale, the median of the 384 packages we track, which lean towards today's most downloaded, is up 164% over 11 months, so this one is behind that. Last week, 41% of downloads above the crawler floor were on major version 4, not the latest one; the most used single version was 4.3.0, with 40%. Weekdays get 1.6× the downloads of weekends, which fits people at work, though CI follows the same rhythm. Crawlers account for about 97,680 downloads a week, roughly 3,256 per version.

Monthly downloads of ansi-styles

The busiest month was Oct 2026, with about 118,150,820 downloads a day once publish spikes are removed; the quietest was Dec 2025 (the holiday season), with about 54,421,649.

monthnpm downloadspublish spikes removedreal installsvs month before
Oct 2026 2,953,770,503 0 2.95B up 7%
Sep 2026 2,978,825,022 0 2.98B up 18%
Aug 2026 2,909,192,568 0 2.91B about flat
Jul 2026 2,957,587,569 0 2.96B about flat
Jun 2026 2,803,698,998 0 2.8B up 13%
May 2026 2,573,281,135 0 2.57B about flat
Apr 2026 2,393,921,933 0 2.39B about flat
Mar 2026 2,549,578,309 0 2.55B up 13%
Feb 2026 2,044,300,886 0 2.04B up 15%
Jan 2026 1,972,861,260 0 1.97B up 17%
Dec 2025 1,687,071,105 0 1.69B —

Whole months through Oct 31, 2026. Publish spikes are found day by day and summed per month. Real installs apply this week's crawler share to each month's downloads (the upper end also keeps the removed spikes), so they follow npm's curve rather than measure it. The change compares spike-free downloads per day.

How the estimate works

  1. Cut the spike every new version gets from mirrors in its first days.
  2. Subtract the flat floor robots download from every version each week.
  3. Show what is left as a range, with a confidence level. It still includes CI and dependency installs, so it is not a count of people.

Read the methodology

Other packages