Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nswbmw/npm-user-downloads
List npm user all modules download counts.
https://github.com/nswbmw/npm-user-downloads
Last synced: 2 months ago
JSON representation
List npm user all modules download counts.
- Host: GitHub
- URL: https://github.com/nswbmw/npm-user-downloads
- Owner: nswbmw
- Created: 2016-01-14T06:14:51.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-05T04:25:27.000Z (over 7 years ago)
- Last Synced: 2024-08-10T09:14:37.039Z (5 months ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-github-star - npm-user-downloads
README
## npm-user-downloads
List npm user all modules download counts.
### Install
npm i npm-user-downloads [-g]
### Usage
```
npmUserDownloads(user, period)
```- user: npm user, eg: 'substack'
- period:
- semantic: last-day, last-week, last-month
- specific date: 2016-01-01
- specific range: 2016-01-01:2016-01-31### Example
```
npmUserDownloads('substack', 'last-month').then(function (res) {
console.log(res);
});
``````
nud substack last-month --limit=50
```![screenshot](./screenshot.png)
### License
MIT