Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrvautin/authorstats
Fetch the daily/weekly/monthly download stats for all your NPM packages/modules and print to a pretty unicode table.
https://github.com/mrvautin/authorstats
Last synced: 2 months ago
JSON representation
Fetch the daily/weekly/monthly download stats for all your NPM packages/modules and print to a pretty unicode table.
- Host: GitHub
- URL: https://github.com/mrvautin/authorstats
- Owner: mrvautin
- License: mit
- Created: 2016-05-06T04:16:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-07T09:29:20.000Z (4 months ago)
- Last Synced: 2024-10-19T14:29:55.183Z (3 months ago)
- Language: JavaScript
- Size: 209 KB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# authorStats
Fetch the daily/weekly/monthly download stats for all your NPM packages/modules and print to a pretty unicode table.
## Installation
```
# npm install author-stats -g
```## Usage
```
# authorStats
```Where `` is the username on the NPM website. My profile is: `https://www.npmjs.com/~mrvautin` and username is `mrvautin`.
A nice command line table with the daily, weekly and monthly download numbers of all your packages will be output to your terminal.
## Options
### -s (sort)
The `-s` or `--sort` flag and column name will sort the table.
```
authorStats -s name
```> Possible values: `name`, `day`, `week`, `month`, `dependants`
### -o (order)
The `-o` or `--order` flag and direction will sort the table in the desired order.
```
authorStats -o asc
```> Possible values: `asc`, `desc`
![authorStats](https://raw.githubusercontent.com/mrvautin/mrvautin.github.io/master/images/authorStats/exampleoutput.png "authorStats output")