I threw this site together in April to track registry growth as most project’s download counts were surging. I wanted to know if it was a rising tide lifts all boats situation. At the time I thought wow eventually theyll cross 1 Trillion, and as of September, it happened.
The data is pulled from their official download counts API, which provides daily aggregate download counts for the whole registry
Thank you for the graph. This speaks to a new problem I believe we are facing which is the widening of the attack surface of supply chain attacks. Non-technical folks now make up a decent chunk of these downloads which don’t understand dependencies or the risks they include.
Microsoft purchased GitHub in 2018, which purchased npm in 2020. In 6 years they still have zero integration with GitHub (other than provenance attestation) which is mind boggling.
we all owe a lot to Microsoft, Github & NPM . it doesn't get mentioned often enough while people complain about outages. No other private enterprise (or non-profit) could manage those services and keep them "free" .
At retail rates, just the egress would be $20-35m / year. storage and compute would exceed that. npm alone is a $100m+ annual donation to the community
Assuming a generous size of 1 MiB per package, a total of 0.9 trillion packages, and without peering, paying for transit at a market rate of $0.08 / Mbps / mo that comes out to about $19418 for the last year.
Given compression, most packages being small, and peering you can lower this cost by a lot.
Cogent is down to 0.05/mbps this year! But admittedly GitHub would need better peering then that.
The cloud has really fried people's brain when it comes to bandwidth cost, they really don't know/remember that in the real world you pay for capacity (95th percentile, really) and not per byte...
We started monitoring our NPM package which got 300+ downloads the first day with almost 0 real users so this really points to the fact the 1T number is probably inflated
That has always been the case historically, some mirrors download everything as soon as its published. Download numbers have always been “inflated”. Its the magnitude of the change and rate of change that is interesting.
Is there such a thing as an open source plug and play package cache I can self host? Something that I could configure in under an hour that will mirror Python, Go, Docker, Debian, etc repos if one machine on my network makes an initial request? Or are the existing options so fiddly I would have to put in significant maintenance to keep it running?
It might be that Artifactory by JFrog does what you need. We used at my previous $code place. It was usable, not sure how the open source version holds up against the enterprise version I familiar with. Maybe worth a try.
I think you are involved with StableBuild somehow. That company has only 10 followers on X and does not really mention who is behind it. The websites of the only two customers mentioned on your websites have the same design as the StableBuilds website. And your account only has 2 comments both advertising StableBuild… fishy
November 2026’s year over year growth for monthly npm downloads was 227%
I just dont know how to interpret these numbers. I dont think we will ever know exactly WHY the numbers are surging. More CI runs, agent sandboxes, more code being written, labs doing training runs or RL on coding tasks, I assume all of these contribute but still the growth is astounding.
I am of the opinion that the volume of code being written will continue to increase and these mind boggling milestones are a small preview of what the future has in store.
> I dont think we will ever know exactly WHY the numbers are surging
Literally everyone has become a software engineer. People used to do the "learn to code" thing when they had the idea, for most the burden won and the idea stagnated, now every minor curiosity of an idea can be built and thrown away in a single session with no real hurdles/experience required.
It reminds me of the pre-internet time. When you thought up something, had a question, some trivia, or just couldn't remember something you knew you knew... you either dug deep and researched it (offline; libraries, books, actual work), but likely you'd just racked your brain for a bit, maybe ask a friend or spouse to help jog your memory, and then ultimately you just shrugged it off. Then a week later it would randomly pop in your head. Even pre-iPhone, we'd do the same thing but the friction was smaller, you had to wait until you were at your computer/desk to look it up on early Google. We've all now been accustomed to just instant and constant information availability. Any time this scenario plays out, I have a near automatic reflex of reaching into my pocket to look up the answer. I can't be content with not knowing the thing I am trying to remember. I know the answer it usually just a few seconds away, practically zero effort.
All to say, I when I think of a new idea for anything nowadays, I build it. I don't plan much, I just start building. It's akin to sketching out a website on a Post-it note, why do that when you can have a real design and working backend spun up in no time? I'd guess that most of the world has realized what superpower us developers had all along and they are all working on creating their "side projects" folders of dead ideas they built to scratch an itch but ultimately never launched or saw the light of day.
I have this short (fiction) story about "the Last Program" I should polish up and publish. While it would be foolish to say that's possible for eg music, because software decomposes into libraries so you can reuse bits of code elsewhere, it's a fun idea to explore.
I mean this is mostly an artifact of how sloppy CI is. Imagine how much energy and resources are wasted reinstalling packages 3 times in a ci pipeline or MR review pipeline
having been tracking some of this stuff for my projects. it could also be the velocity some of the bigger packages move at. Up to date. 1 month later every item in your package.json needs to be updated. Then on top of that you might have a dozen or so direct items. Those will drag in several thousand items.
Now something like artifactory and your local npm cache should catch a lot of that but still...
I'm guilty of doing an install for each CI run, but I've done Artifactory/similar and dependency caching before and was bitten both times - where I work has been through at least three iterations of "product to mirror npm, Maven, NuGet etc" so I'm choosing not to be rug-pulled in the near future, and GitLab's dependency caching was actually slower than just downloading each time (CI time was getting close to 30 minutes so I wasn't prepared to slow it down any more).
But yeah agreed, probably the Javascript library ecosystem being even further accelerated by AI.
I always find this a funny argument. “X is much much much much much worse than Y. So don’t worry so much about Y!”
Solving problems is not mutually exclusive. And you solve problems in different parts of your life all the time without gathering all your problems first and making a priority list of every problem.
And different problems sometimes serve to highlight our blind spots. Here we have supposedly smart people, who can’t workout how to not download the same thing multiple times when only once would do. A problem in and of itself maybe.
I semi-seriously think of this as a form of eco-terrorism.
I don't know how many nines of this activity is pure waste but it's got to be a lot.
We've designed systems where every time someone corrects a spelling mistake on a website, entire operating systems are ejected, clean images put in their place and all dependencies are re-downloaded and rebuilt.
Often multiple times as it goes through a "CI pipeline", with separate clean builds to prove the unit tests before merge, prove them again post-merge. Again to produce integration test environments, yet again to produce deployment images, etc.
It's held up as "best practice" and "reproducible builds" but it's a disgusting amount of waste.
Amdahl’s law. The percentage is far too low to matter in any way compared to virtually any other use of energy. The very act of existing is far more eco-terrorism. All those watts of energy doing nothing 8 hours a night.
No one even knows what adapt means at this point everywhere else you look has the same risk of disruption. Short of becoming a police officer or trades worker it's looking bad right now.
One avenue to adaptation is being able to use the llms to produce more value for the business/customers than you would have previously. Software Engineering is going back to engineering, and only people who have staunchly stuck to being code technicians (learning how to do a few tasks and expecting to not have to learn/adapt) face any threat of job loss.
The data is pulled from their official download counts API, which provides daily aggregate download counts for the whole registry
At retail rates, just the egress would be $20-35m / year. storage and compute would exceed that. npm alone is a $100m+ annual donation to the community
Given compression, most packages being small, and peering you can lower this cost by a lot.
The cloud has really fried people's brain when it comes to bandwidth cost, they really don't know/remember that in the real world you pay for capacity (95th percentile, really) and not per byte...
https://news.ycombinator.com/item?id=46909037
https://jfrog.com/community/download-artifactory-oss/
It's also freaking expensive.
The amount is staggering, and we have only had coding agents that were even somewhat useful for about 13 months.
I just dont know how to interpret these numbers. I dont think we will ever know exactly WHY the numbers are surging. More CI runs, agent sandboxes, more code being written, labs doing training runs or RL on coding tasks, I assume all of these contribute but still the growth is astounding.
I am of the opinion that the volume of code being written will continue to increase and these mind boggling milestones are a small preview of what the future has in store.
Literally everyone has become a software engineer. People used to do the "learn to code" thing when they had the idea, for most the burden won and the idea stagnated, now every minor curiosity of an idea can be built and thrown away in a single session with no real hurdles/experience required.
It reminds me of the pre-internet time. When you thought up something, had a question, some trivia, or just couldn't remember something you knew you knew... you either dug deep and researched it (offline; libraries, books, actual work), but likely you'd just racked your brain for a bit, maybe ask a friend or spouse to help jog your memory, and then ultimately you just shrugged it off. Then a week later it would randomly pop in your head. Even pre-iPhone, we'd do the same thing but the friction was smaller, you had to wait until you were at your computer/desk to look it up on early Google. We've all now been accustomed to just instant and constant information availability. Any time this scenario plays out, I have a near automatic reflex of reaching into my pocket to look up the answer. I can't be content with not knowing the thing I am trying to remember. I know the answer it usually just a few seconds away, practically zero effort.
All to say, I when I think of a new idea for anything nowadays, I build it. I don't plan much, I just start building. It's akin to sketching out a website on a Post-it note, why do that when you can have a real design and working backend spun up in no time? I'd guess that most of the world has realized what superpower us developers had all along and they are all working on creating their "side projects" folders of dead ideas they built to scratch an itch but ultimately never launched or saw the light of day.
<chef's kiss>
Now something like artifactory and your local npm cache should catch a lot of that but still...
But yeah agreed, probably the Javascript library ecosystem being even further accelerated by AI.
In the meantime we up our suv's with $100/mo in gas and heat our houses with $200/mo of fuel.
The elephant in the room is not CI.
Solving problems is not mutually exclusive. And you solve problems in different parts of your life all the time without gathering all your problems first and making a priority list of every problem.
And different problems sometimes serve to highlight our blind spots. Here we have supposedly smart people, who can’t workout how to not download the same thing multiple times when only once would do. A problem in and of itself maybe.
So are you going to spend your day hardening your infra, or doing a ci optimization that cuts downloads by 100MB/day?
I don't know how many nines of this activity is pure waste but it's got to be a lot.
We've designed systems where every time someone corrects a spelling mistake on a website, entire operating systems are ejected, clean images put in their place and all dependencies are re-downloaded and rebuilt.
Often multiple times as it goes through a "CI pipeline", with separate clean builds to prove the unit tests before merge, prove them again post-merge. Again to produce integration test environments, yet again to produce deployment images, etc.
It's held up as "best practice" and "reproducible builds" but it's a disgusting amount of waste.
For example, why is there an npm package to uppercase a string?
https://www.npmjs.com/package/text-upper-case
Looking at the code and at the end of the day, all it’s doing is str.toUpperCase(). This is built-in functionality in JS.
I can’t imagine a human ever using something like this, but with AI… I fully expect it. It’s getting 260k weekly downloads. Why???
If 1 million monthly downloads are people making a string uppercase, I wonder how many of those trillion downloads are complete nonsense.
The author likely split it in 20 packages to pad their resumé, which is still bad of course, but not as bad as you portrayed!
“Big believer in quality over quantity. Maximization through minimization.”
npm list --all | grep '@0\.1\.'
Rule #3: popularity is not an indication of utility.
llms are not going away. they're only getting better.
sorry
first time? new to this business?