NPM crossed 1T monthly downloads in September

70 points43 comments9 hours ago
jonchurch_

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

k0morebi

Not something to be celebrated to be sure

show comments
clement_b

Yes, pretty clear something changed this year.

show comments
dzonga

the good thing microsoft owns npm if it was just a some other odd company - they would've crippled by all this traffic that came in late.

show comments
0cf8612b2e1e

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?

show comments
_pdp_

I keep saying this, but I do not think we can picture how much code we will write over the next decade.

The amount is staggering, and we have only had coding agents that were even somewhat useful for about 13 months.

show comments
tuckerpo

I gotta wonder what % of these are CI botch jobs that re-pull NPM for every commit on every branch.

show comments
GenerocUsername

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

show comments
eterm

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.

show comments