NPM download stats are down

François Best • 21 September 2023 • 2 min read

I noticed the problem on 2023-09-14, while I was working on my NPM package embed.

It looks like this, showing NPM download stats for the last 30 days:

Avatar for GitHub account facebookfacebook/react

253k
0
19.3.1
MIT

The library for web and native user interfaces.

$ pnpm add react
$ yarn add react
$ npm install react

Version rolloutLast week

19.3.1
68m (24%)
18.3.1
49m (18%)
19.3.0
30m (11%)
19.2.8
28m (10%)
19.2.4
18m (07%)
22,450,923Oct 2539,668,639Oct 2639,653,909Oct 2741,107,046Oct 2840,679,853Oct 2936,372,740Oct 3022,382,516Oct 3123,851,036Nov 0140,507,652Nov 0242,087,704Nov 0342,303,674Nov 0442,621,351Nov 0538,601,810Nov 0623,373,627Nov 0723,083,624Nov 0840,143,036Nov 0943,035,677Nov 1041,360,749Nov 1144,021,632Nov 1241,231,563Nov 1325,623,923Nov 1425,464,393Nov 1544,243,682Nov 1646,672,963Nov 1746,712,767Nov 1845,294,108Nov 1941,449,404Nov 2026,363,482Nov 2124,996,360Nov 220Nov 231,055,359,843Last 30 days

After seeing the latest download stats zero-out, I thought it was a bug in my code, but a quick call to the NPM registry API confirmed there’s an issue across the whole registry:

$ curl -s https://api.npmjs.org/downloads/range/2023-09-12:2023-09-20/ | jq .
 
{
    "start": "2023-09-12",
    "end": "2023-09-20",
    "downloads": [
        {
            "downloads": 10511123926,
            "day": "2023-09-12"
        },
        {
            "downloads": 0,
            "day": "2023-09-13"
        },
        {
            "downloads": 0,
            "day": "2023-09-14"
        },
        {
            "downloads": 8912767625,
            "day": "2023-09-15"
        },
        {
            "downloads": 2444583811,
            "day": "2023-09-16"
        },
        {
            "downloads": 2260617731,
            "day": "2023-09-17"
        },
        {
            "downloads": 0,
            "day": "2023-09-18"
        },
        {
            "downloads": 0,
            "day": "2023-09-19"
        },
        {
            "downloads": 0,
            "day": "2023-09-20"
        }
    ]
}

And indeed, other popular packages show the same decline:

Avatar for GitHub account vuejsvuejs/core

55k
0
3.5.46
MIT

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

$ pnpm add vue
$ yarn add vue
$ npm install vue

Version rolloutLast week

3.5.45
4.9m (18%)
3.5.44
4.3m (16%)
3.5.43
3.4m (13%)
3.5.42
2m (07%)
2.7.16
1.2m (04%)
1,815,592Oct 253,975,559Oct 264,114,124Oct 274,404,526Oct 284,311,557Oct 293,749,413Oct 301,971,627Oct 312,056,242Nov 014,052,289Nov 024,326,974Nov 034,351,758Nov 044,469,381Nov 053,889,034Nov 061,868,555Nov 071,885,793Nov 084,139,921Nov 094,401,833Nov 104,110,746Nov 114,385,807Nov 124,015,982Nov 132,105,566Nov 142,053,217Nov 154,478,839Nov 164,764,192Nov 174,619,826Nov 184,589,274Nov 194,091,983Nov 202,188,962Nov 212,089,733Nov 220Nov 23103,278,305Last 30 days

Avatar for GitHub account angularangular/angular

101k
0
22.3.0
MIT

Deliver web apps with confidence 🚀

$ pnpm add @angular/core
$ yarn add @angular/core
$ npm install @angular/core

Version rolloutLast week

21.2.25
732k (09%)
22.2.6
610k (07%)
22.2.3
525k (06%)
21.2.26
467k (05%)
22.2.1
390k (05%)
472,938Oct 251,496,150Oct 261,487,425Oct 271,519,615Oct 281,519,922Oct 291,310,050Oct 30481,027Oct 31504,398Nov 011,434,773Nov 021,568,390Nov 031,506,572Nov 041,542,710Nov 051,371,405Nov 06495,290Nov 07521,884Nov 081,419,336Nov 091,494,650Nov 101,370,788Nov 111,535,696Nov 121,350,470Nov 13502,759Nov 14484,591Nov 151,470,963Nov 161,547,365Nov 171,570,690Nov 181,565,233Nov 191,339,273Nov 20530,713Nov 21516,948Nov 220Nov 2333,932,024Last 30 days

After a couple of days, it started to show on NPM’s own website:

NPM download stats for the react package, with a visible drop towards the end of the line

Reddit and Hacker News users were quick to react, with some hilarious comments:

Bun 1.0 is out, so everyone is switching to that.

You should use PNPM anyway.

Some folks were prompt to draw ominous conclusions:

Well, that confirms it, javascript and front end development is dead. I'll start looking for a new job.
drpossum | Hacker News

This proves React is dead, you should use Svelte now.

Someone who didn’t notice Svelte stats were also down:

Avatar for GitHub account sveltejssveltejs/svelte

web development for the rest of us

$ pnpm add svelte
$ yarn add svelte
$ npm install svelte

Version rolloutLast week

5.57.3
2.4m (23%)
5.57.2
1.1m (10%)
5.34.9
902k (09%)
5.57.1
579k (06%)
5.57.0
494k (05%)
777,888Oct 251,446,720Oct 261,506,038Oct 271,577,779Oct 281,530,098Oct 291,376,151Oct 30795,139Oct 31821,898Nov 011,485,063Nov 021,605,564Nov 031,658,469Nov 041,604,903Nov 051,442,722Nov 06854,923Nov 07805,926Nov 081,471,194Nov 091,642,076Nov 101,508,297Nov 111,674,194Nov 121,610,820Nov 13972,696Nov 14887,327Nov 151,692,413Nov 161,807,840Nov 171,738,352Nov 181,714,080Nov 191,580,043Nov 20962,602Nov 21909,127Nov 220Nov 2339,460,342Last 30 days

Official response from NPM

I contacted NPM support on 2023-09-15, but didn’t get much of a useful response:

Yes, we also see the zero download count on different packages.

This issue remains under investigation.

We will let you know once we have an update.

Resolution

As of 2023-09-24, the problem seems to have been resolved. Stats are returning to normal, and previous zero values have been restored for all tested packages.


François Best

Freelance developer & founder