1.0.0 • Published 7 years ago
module-downloads v1.0.0
module-downloads
Check downloads for an npm module(last day | last week | last month).
Installation
This command line utility can be installed via npm:
npm install module-downloads --global
API
- downloads.yesterday
- downloads.lastWeek
- downloads.lastMonth
const downloads = require('../index')
downloads.yesterday('x-ray')
// Yesterday, x-ray got 176 downloads.
downloads.lastWeek('x-ray')
// Las week, x-ray got 858 downloads.
downloads.lastMonth('x-ray')
//Last month, x-ray got 4456 downloads.
Contributing
You can help out by:
Solving existing issues
Enhancing more functionalities
Pointing out bugs/errors
Go ahead, and create a Pull Request! If you make a change, please follow the standardjs
coding style and the current directory structure.
License
MIT | Copyright (c) Aman Mittal
1.0.0
7 years ago