NPM Stat
Get NPM Package Stats and Info from the command line or as a Python module.
Install
Install From PyPI: https://pypi.org/p/npmstat
pip install npmstat
uv tool install npmstat
From Homebrew: https://github.com/cssnr/homebrew-tap
brew install cssnr/tap/npmstat
From GitHub: https://github.com/cssnr/npmstat/releases/latest
curl https://i.jpillora.com/cssnr/npmstat! | bash
See 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
Usage
To use run npmstat from your command line.
Usage: npmstat [OPTIONS] COMMAND [ARGS]...
Example: npmstat -v stats @cssnr/vitepress-swiper
┌─ Options ──────────────────────────────────────────────────────────────────────────┐
│ --verbose -v INTEGER Verbose Output (jq safe). [default: 0] │
│ --version -V Show App Version. │
│ --clear-cache -C Clear Request Cache. │
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to │
│ copy it or customize the installation. │
│ --help -h Show this message and exit. │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ Commands ─────────────────────────────────────────────────────────────────────────┐
│ info Get Package Information. │
│ stats Get Package Download Stats. │
└────────────────────────────────────────────────────────────────────────────────────┘
Support
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
Contributing
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/
Metadata
Release files for npmstat 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| npmstat-0.1.2.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| npmstat-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.4 kB
Release files / npmstat-0.1.2.tar.gz
| Download URL | npmstat-0.1.2.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fab1b8421b34fcc152e43f5b38522762ee3621094df0b13538a7dacebe31332b
|
|
BLAKE2b-256 checksum How to use checksums |
e76c9ea281908ea30eb6973d5d4d61abbeeeaa32134b64b74bee795ba223b556
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 24, 2026.
Transparency logRelease files / npmstat-0.1.2-py3-none-any.whl
| Download URL | npmstat-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99229041f454adcf1cdf148f1e1198d902a41ec9840e97b8109bf5bb00dfa586
|
|
BLAKE2b-256 checksum How to use checksums |
37667146dae9771c088209090fe84b1b6b6029a8dfe8b7b2dbb7f4dc91255169
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 24, 2026.
Transparency log