Skip to content

internetsadboy/npm-pkg-downloads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-pkg-downloads

Crawls npm to fetch the number of total, daily, weekly, and monthly packages.

Usage

'use strict';

var npmDownloads = require('npm-pkg-downloads');

npmDownloads(function(downloads) {
  console.log(downloads);
});

Output

{ total: 90525, day: 16299502, week: 99896225, month: 413985488 }

installation

npm install npm-pkg-downloads

test

npm test

About

a quick little npm hack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published