HN
Today

NPM crossed 1T monthly downloads in September

NPM has officially crossed one trillion monthly downloads, a staggering milestone that underscores the colossal scale of modern software development. This incredible volume has sparked intense debate on Hacker News about the environmental and infrastructural costs of ubiquitous CI/CD practices and the potential influence of AI in rapidly accelerating code generation and package consumption.

59
Score
33
Comments
#14
Highest Rank
7h
on Front Page
First Seen
Dec 2, 7:00 PM
Last Seen
Dec 3, 1:00 AM
Rank Over Time
14171728242829

The Lowdown

The article by jonchurch_ highlights a significant milestone: the npm registry recorded over 1 trillion monthly downloads in September. The author began tracking these statistics in April to understand registry growth, noting that individual project download counts were surging.

  • The data is directly sourced from npm's official download counts API, providing daily aggregate figures for the entire registry.
  • As of November 2026, the year-over-year growth for monthly npm downloads stood at an astounding 227%.
  • The author posits that the exact reasons for this surge are multifaceted, likely including increased CI/CD runs, AI agent sandboxes, a general increase in code being written, and machine learning labs performing coding tasks.
  • The article concludes with the author's belief that the volume of code generation will continue its upward trajectory, making these current mind-boggling figures just a prelude to future growth.

This landmark figure serves as a stark indicator of the ever-expanding JavaScript ecosystem and the underlying infrastructure supporting global software development.

The Gossip

CI/CD's Costly Cavalcade

A dominant theme in the comments revolves around the massive waste generated by modern CI/CD pipelines. Many users argue that a significant portion of the trillion downloads comes from inefficient practices, where entire dependency trees are re-downloaded multiple times for trivial changes. This leads to concerns about wasted energy and resources, with some hyperbolically labeling it a form of 'eco-terrorism.' Others push back, arguing that the environmental impact of CI/CD is negligible compared to other daily activities or larger societal issues.

Code's Constant Climb

Commenters reflect on the sheer scale of code being written and deployed, expressing awe and sometimes alarm at the escalating numbers. There's speculation that recent growth is unprecedented and that the trend will continue, partly fueled by emerging AI coding agents. This leads to questions about how much more code the world can sustain and the implications for maintainability and security as dependency trees grow ever larger.

Caching Conundrums & Critical Costs

The discussion often steers towards practical solutions for mitigating download waste, with users inquiring about self-hosted package caches (for NPM, Python, Go, Docker, etc.) that are easy to set up and maintain. Tools like Artifactory and Repoflow are mentioned as potential solutions, though with caveats about complexity and cost. Concurrently, the financial burden of hosting npm is highlighted, with some users estimating Microsoft's 'donation' to the community to be in the tens or even hundreds of millions annually, while others debate the actual egress costs.

AI's Accelerating Aftermath

A subset of the conversation touches on the role of AI in this explosion of code and downloads. Some commenters link the increased volume to coding agents and AI-driven development. There's also a more contentious debate about AI's impact on developer skills, with some arguing that reliance on LLMs leads to 'slop' code and deskilling, while others contend that adaptation to AI tools is necessary for survival in an evolving job market.