Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 573
Ansh Malik Avatar asked Sep 10 '25 19:09

Ansh Malik


2 Answers

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.

like image 171
V.Tur Avatar answered Sep 13 '25 10:09

V.Tur


This is something which occurs pretty often when you upload packages to npm.

One week ago I also pushed a simple project to npm and it got 1.5k downloads in a week.

I do not think this means that 111 people have downloaded your package, but better be safe than sorry.

You should fill up the readme just to be safe.

like image 35
Lakshya Jain Avatar answered Sep 13 '25 08:09

Lakshya Jain