Get NPM Package Stats and Info from the command line or as a Python module.
Install From PyPI: https://pypi.org/p/npmstat
pip install npmstatuv tool install npmstatFrom Homebrew: https://github.com/cssnr/homebrew-tap
brew install cssnr/tap/npmstatFrom GitHub: https://github.com/cssnr/npmstat/releases/latest
curl https://i.jpillora.com/cssnr/npmstat! | bashSee jpillora/installer for more details.
Alternatively, you can manually download a release for your system.
- Windows x86_64 amd64
- macOS Apple Intel amd64
- macOS Apple Silicon arm64
- Linux x86_64 amd64
- Linux ARM arm64
To use run npmstat from your command line.
Usage: npmstat [OPTIONS] COMMAND [ARGS]...
Example: npmstat -v stats @cssnr/vitepress-swiper
┌─ Options ────────────────────────────────────────────┐
│ --verbose -v Verbose Output (jq safe). │
│ --version -V Show App Version. │
│ --clear-cache -C Clear Request Cache. │
│ --help -h Show this message and exit. │
└──────────────────────────────────────────────────────┘
┌─ Commands ───────────────────────────────────────────┐
│ info Get Package Information. │
│ stats Get Package Download Stats. │
└──────────────────────────────────────────────────────┘
If you run into any issues or need help getting started, please do one of the following:
- Report an Issue: https://github.com/cssnr/npmstat/issues
- Q&A Discussion: https://github.com/cssnr/npmstat/discussions/categories/q-a
- Request a Feature: https://github.com/cssnr/npmstat/issues/new?template=1-feature.yaml
- Chat with us on Discord: https://discord.gg/wXy6m2X8wY
If you would like to submit a PR, please review the CONTRIBUTING.md.
Please consider making a donation to support the development of this project and additional open source projects.
For a full list of current projects visit: https://cssnr.github.io/