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: 8 days ago
JSON representation

List npm user all modules download counts.

Lists

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