100Automations / Website

We’re supporting tools and micro services to help simplify open source development for the wider Civic Tech community. We welcome ideas and projects in all stages - connect with us and let’s build 100 automations.
https://100automations.org/
GNU General Public License v3.0
13 stars 14 forks source link

Stats npm downloads #515

Open ExperimentsInHonesty opened 2 years ago

ExperimentsInHonesty commented 2 years ago

Overview

Stats npm downloads

https://npm-stat.com/charts.html?package=true-github-contributors&from=2021-03-11&to=2022-03-11)

ExperimentsInHonesty commented 2 years ago

Reach out to NMP and ask them if you are thinking about integrating the unique Monthly ips that run a particular npm package , so that we can figure out how many people are actually using an npm package vs, number of people who downloaded it

https://blog.npmjs.org/post/143451680695/how-many-npm-users-are-there.html

Every time npm runs it generates a unique ID that it sends as a header for every request it makes during that run. This ID is random and not tied to you in any way, and once npm finishes running it is deleted. We use this ID for debugging the registry: it lets us see that these 5, 10 or 50 requests were all part of the same operation, which makes it easier to see what’s going on when somebody has a problem. It also makes it possible to say roughly how many times npm is run – or at least, run in a way that makes a request to the registry. There were 84 million npm sessions in March: this number is growing faster than IPs, but less quickly than downloads.

ExperimentsInHonesty commented 2 years ago

ask the data science community of practice to invent a formula for guessing how many per use an npm for every download. So if you have 300 downloads, do you have 3 users or 30, etc?