Search code examples
javascriptnpmnpm-installnpm-publish

How did I get 111 npm downloads already?


So 2 days ago I published my first npm package, a simple library to trim and join audio files

The weird thing is I already got 111 downloads somehow. I haven't shared this package with anyone. Neither have I documented anything. The README is literally blank. Could this be a mistake?


Solution

  • Npm’s download stats are naive by design: they are simply a count of the number of HTTP 200 responses NPM served that were tarball files, i.e. packages. This means the number includes:

    • automated build servers
    • downloads by mirrors
    • robots that download every package for analysis

    Full answere there: https://blog.npmjs.org/post/92574016600/numeric-precision-matters-how-npm-download-counts-work.html.