2.3.1 • Published 7 years ago

pkg-downloads v2.3.1

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

pkg-downloads Build Status

Check total downloads of a package during a specific time period

Install

$ npm install pkg-downloads

Usage

const pkgDownloads = require('pkg-downloads');

pkgDownloads('chalk', {period: 'week'}).then(res => {
	console.log(res);
	//=> 2948939
});

API

pkgDownloads(name, options)

name

Required Type: string

Name of the npm package.

options

period

Required Type: string

Choose by day, week or month.

Related

pkg-downloads-cli - CLI for this module.

License

MIT © alonalon

2.3.1

7 years ago

2.3.0

7 years ago

2.2.0

7 years ago

2.0.2

7 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago