npmjs-stats

Scripts to calculate stats from npmjs

npm install npmjs-stats
29 downloads in the last month

npmjs-stats

Build Status

Scripts to calculate stats from npmjs.org. Useful if you're thinking of creating a mirror of npmjs.org and want to figure out how much bandwidth you might need.

Install with npm install -g npmjs-stats. Run with npmjs-stats.

Currently provides stats in real time, taken from http://isaacs.iriscouch.com/. Will give you something like the following (real stats as of December 3rd 2013, 17h37 Berlin Time):

  • Downloads last 30 days: 118772264
  • Average package size: 1665164 bytes.
  • Total packages: 49381
  • 68.27 % of packages are smaller than: 38382 bytes (position 33712)
  • 95.45 % of packages are smaller than: 3005324 bytes (position 47134)
  • 99.73 % of packages are smaller than: 101533402 bytes (position 49248)
  • Number of packages bigger than 101533402 bytes: 133 out of 49381 (0.27 %)
  • Number of packages smaller than 1 mb: 45647 (92.44 %)
  • Number of packages smaller than 500 kb: 44228 (89.56 %)
  • Number of packages smaller than 250 kb: 42432 (85.93 %)
  • Number of packages smaller than 100 kb: 39099 (79.18 %)
npm loves you