Get NPM Package Stats and Info from the command line or as a Python module.
Project description
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file npmstat-0.1.1.tar.gz.
File metadata
- Download URL: npmstat-0.1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
956710d5b0d532acc03ed6aa921dc849e2d10aee4484aac12fe9117191668b9c
|
|
| MD5 |
0f36e765343bc73185c8e7c3af23faa4
|
|
| BLAKE2b-256 |
df195eab8db35cb34e8151e3edad578ec2686a08f3e3d10f1e655eab867bbe01
|
Provenance
The following attestation bundles were made for npmstat-0.1.1.tar.gz:
Publisher:
release.yaml on cssnr/npmstat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
npmstat-0.1.1.tar.gz -
Subject digest:
956710d5b0d532acc03ed6aa921dc849e2d10aee4484aac12fe9117191668b9c - Sigstore transparency entry: 799007286
- Sigstore integration time:
-
Permalink:
cssnr/npmstat@fa3d06a97b37eb0f4bcdc638c20577efc0f56e22 -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/cssnr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@fa3d06a97b37eb0f4bcdc638c20577efc0f56e22 -
Trigger Event:
release
-
Statement type:
File details
Details for the file npmstat-0.1.1-py3-none-any.whl.
File metadata
- Download URL: npmstat-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
734ad21f4b09795551d0af7cb006df638c894f8a61324760d3fc18c8a94f3b7f
|
|
| MD5 |
fd5a400b417ef29a838f3ea9a4f05ac5
|
|
| BLAKE2b-256 |
3ff19e3f667a7057747204b6646155562f21d59620eeab9ee465912133e4eb65
|
Provenance
The following attestation bundles were made for npmstat-0.1.1-py3-none-any.whl:
Publisher:
release.yaml on cssnr/npmstat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
npmstat-0.1.1-py3-none-any.whl -
Subject digest:
734ad21f4b09795551d0af7cb006df638c894f8a61324760d3fc18c8a94f3b7f - Sigstore transparency entry: 799007288
- Sigstore integration time:
-
Permalink:
cssnr/npmstat@fa3d06a97b37eb0f4bcdc638c20577efc0f56e22 -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/cssnr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@fa3d06a97b37eb0f4bcdc638c20577efc0f56e22 -
Trigger Event:
release
-
Statement type: