Skip to content

A command line tool for getting download stats for npm packages.

License

Notifications You must be signed in to change notification settings

kshvmdn/pkg-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pkg-stats

A command line tool for getting download stats for npm packages. Available on npm.

Screenshot

Install

npm i pkg-stats -g

Usage

  • pkgstats requires either a username or package name(s) and a period (day/week/month). See below for usage, options, and examples (or run pkgstats --help to access it in your console).
Usage
$ pkgstats -u <user> -p <package name> -t <day|week|month>

Options
    -u, --user      npm username
    -p, --package   package name
    -t, --time      time period

Examples
    $ pkgstats -u kshvmdn -t day
    $ pkgstats -p latestvid -t month
    $ pkgstats -p latestvid -p pkg-stats -t month
    $ pkgstats -p "latestvid, pkg-stats" -t month
  • Scoped packages are not supported by the npm API.

Contribute

Feel free to open an issue or make a PR, all contributions are welcome!

About

A command line tool for getting download stats for npm packages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published