npmpulse

clsx downloads

clsx has been downloaded 7.6B times in total, 607M of them in the last 30 days. npm's record for the name begins on 2018-12-24, at 20 downloads that day.

Download counts for clsx
All time7.6B
Last 90 days1.6B
Last 30 days607M
Last 7 days151M
Best monthSep 2026 — 584M
Months recorded93 (Jan 2019 onwards)
Last 12 months vs the 12 before2.76×

Granularity

Scale

Range

Custom range

Jan 2019 → Sep 2026

PackageTotalLatestPeak

clsx

7.4B

584M

584M

93 monthly periods

Monthly downloads from Jan 2019 to Sep 2026, and nothing before that: npm's API reports 0 for every package until its real records begin, and those leading zeros are trimmed rather than charted.

Open clsx in the interactive chart for daily, weekly or yearly views, a log axis, and a chart you can share as a link.

Put this chart in a README

The image below redraws itself from npm's figures, so it stays current without anyone editing the file that points at it.

<img src="https://npmpulse.com/api/svg?q=clsx&range=5y&granularity=monthly" alt="clsx download history" />

Where these numbers come from

Download counts are npm's own, published through its downloads API. They count installs rather than people, so they include CI, mirrors and repeated installs, and a package pulled in as a dependency counts for that package too.

npm's API returns at most 549 days for a single package and 365 when several are compared, and truncates an over-long range rather than refusing it. npmpulse asks for the whole span in 365-day chunks and stitches the answers together, which is what makes a chart that starts in 2015 possible at all.

npm reports 0 for every package from 2015-01-10 until 2015-02-27, when its real records begin; those leading zeros are trimmed rather than charted. Individual days it lost entirely are interpolated, and the most recent day or two, which it has not finalised, is dropped. The monthly figures here are complete calendar months, so a package that started mid-month begins with the following one.

A handful of months are inflated in npm's own figures. svelte's 2022-11-23 records 5.0M downloads against a norm nearer 80K, and November 2022 is a spike in several packages at once; they are left alone here, because they are what the source says, but a one-month jump is treated as a spike rather than as a change of fortune. That is why the comparisons below only call a lead change a lead change when it held for a second month.

A package's record can also begin before the package did: npm names get reused. Where a first day is a handful of downloads, that is what you are looking at — the earlier life of the name rather than a slow launch. Where it is hundreds of thousands, the opposite is true, and what is missing is upstream history rather than usage.

Snapshot of 2026-10-13. Figures run through 2026-10-11.