0.2.5 • Published 3 years ago
get-npm-downloads v0.2.5
get-npm-downloads
Display npm download in console (also include lib)
Usage
const getNpmDownloads = require('get-npm-downloads');
const datas = getNpmDownloads({
userId,
repo,
period: 'total'
});
Usage-cli
Usage
$ get-npm-downloads [repository_name || #user_name] period_option
Examples
$ get-npm-downloads repository_name today
$ get-npm-downloads repository_name last-day
$ get-npm-downloads repository_name day
$ get-npm-downloads repository_name last-week
$ get-npm-downloads '#user_name' w
$ get-npm-downloads '#user_name' last-month
$ get-npm-downloads '#user_name' 2014-01-01:2014-01-31
$ get-npm-downloads '#user_name' w
$ get-npm-downloads '#user_name' t
0.2.5
3 years ago
0.2.4
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.0.10
3 years ago
0.1.0
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago