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

252k
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

18.3.1
45m (18%)
19.3.1
42m (17%)
19.3.0
30m (12%)
19.2.8
26m (11%)
19.2.4
18m (07%)
35,446,968Oct 050Oct 0635,968,597Oct 0737,575,226Oct 0835,362,451Oct 0922,046,232Oct 1022,081,888Oct 1134,927,798Oct 120Oct 130Oct 140Oct 1536,331,234Oct 1622,474,334Oct 1722,430,010Oct 180Oct 190Oct 200Oct 2142,444,710Oct 2238,572,680Oct 2322,595,930Oct 2422,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 020Nov 03714,932,372Last 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.44
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.44
6.1m (25%)
3.5.43
3.6m (15%)
3.5.42
2.2m (09%)
3.5.34
1.2m (05%)
2.7.16
1.1m (05%)
3,349,859Oct 050Oct 063,694,369Oct 073,741,455Oct 083,333,643Oct 091,755,547Oct 101,746,487Oct 113,372,286Oct 120Oct 130Oct 140Oct 153,461,847Oct 161,641,336Oct 171,699,859Oct 180Oct 190Oct 200Oct 214,235,679Oct 223,735,909Oct 231,810,895Oct 241,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 020Nov 0368,030,100Last 30 days

Avatar for GitHub account angularangular/angular

101k
0
22.2.4
MIT

Deliver web apps with confidence 🚀

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

Version rolloutLast week

21.2.25
1.1m (13%)
22.2.3
964k (12%)
22.2.1
441k (05%)
9.0.0
296k (04%)
20.3.34
257k (03%)
1,292,747Oct 050Oct 061,389,680Oct 071,376,030Oct 081,263,071Oct 09465,468Oct 10462,019Oct 111,258,244Oct 120Oct 130Oct 140Oct 151,243,906Oct 16458,939Oct 17454,606Oct 180Oct 190Oct 200Oct 211,475,968Oct 221,320,372Oct 23475,271Oct 24472,938Oct 251,496,150Oct 261,487,425Oct 271,519,615Oct 281,519,922Oct 291,310,050Oct 30481,027Oct 31504,398Nov 011,434,773Nov 020Nov 0323,162,619Last 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.2
1.7m (19%)
5.57.3
1m (11%)
5.34.9
836k (09%)
5.57.1
630k (07%)
5.57.0
566k (06%)
1,175,177Oct 050Oct 061,396,254Oct 071,389,298Oct 081,304,343Oct 09723,819Oct 10737,589Oct 111,260,629Oct 120Oct 130Oct 140Oct 151,422,864Oct 16756,935Oct 17770,286Oct 180Oct 190Oct 200Oct 211,521,472Oct 221,387,639Oct 23768,935Oct 24777,888Oct 251,446,720Oct 261,506,038Oct 271,577,779Oct 281,530,098Oct 291,376,151Oct 30795,139Oct 31821,898Nov 011,485,063Nov 020Nov 0325,932,014Last 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