NPM crossed 1T monthly downloads in September

(jonchurch.com)

27 points | by jonchurch_ 2 hours ago ago

8 comments

  • k0morebi 33 minutes ago ago

    Not something to be celebrated to be sure

  • jonchurch_ 2 hours ago ago

    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

  • tuckerpo 8 minutes ago ago

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

  • GenerocUsername an hour ago ago

    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

    • unglaublich 28 minutes ago ago

      It might be like... $0.10 a month or so, _wasted_!

      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.

  • eterm an hour ago ago

    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.

    • unglaublich 30 minutes ago ago

      It follows from its cost. If it costs $0.01 to rebuild your site for a spelling mistake (spin up new os images, etc) people do it.

    • iekeb 8 minutes ago ago

      We need the EU to put a tax on CI/CD tasks.