logoalt Hacker News

root_axisyesterday at 8:02 PM2 repliesview on HN

As far as I'm aware, transitive dependencies are counted in this number. So when you npm install next.js, the download count for everything in its dependency tree gets incremented.

Beyond that, I think there is good reason to believe that the number is inflated due to automated downloads from things like CI pipelines, where hundreds or thousands of downloads might only represent a single instance in the wild.


Replies

kormyesterday at 8:20 PM

It's not a transitive dependency, it's just literally bundled into nextjs, I'm guessing to avoid issues with fragile builds.

swyxyesterday at 9:25 PM

why is it not normal for CI pipelines to cache these things? its a huge waste of compute and network.

show 1 reply