Skip to main content

Get NPM Package Stats and Info from the command line or as a Python module.

Project description

PyPI Version GitHub Release Version TOML Python Version GitHub Downloads PyPI Downloads Pepy Total Downloads Codecov Workflow Lint Workflow Test Deployment PyPi Deployment Docs GitHub Last Commit GitHub Repo Size GitHub Top Language GitHub Contributors GitHub Issues GitHub Discussions GitHub Forks GitHub Repo Stars GitHub Org Stars Discord Ko-fi

NPM Stat

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.

View Documentation

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.                                                │
└────────────────────────────────────────────────────────────────────────────────────┘

View Documentation

Support

If you run into any issues or need help getting started, please do one of the following:

Features Issues Discussions Discord

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.

Ko-fi

For a full list of current projects visit: https://cssnr.github.io/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

npmstat-0.1.2b2.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

npmstat-0.1.2b2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file npmstat-0.1.2b2.tar.gz.

File metadata

  • Download URL: npmstat-0.1.2b2.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for npmstat-0.1.2b2.tar.gz
Algorithm Hash digest
SHA256 c64c6eb0d552e33aa6a4be19f5e78ddb7e0c8e65ec4350d0b2b2aad303efb1a5
MD5 1c145364d14ee50928364b54b6341c71
BLAKE2b-256 6a71a5ee47f59aac0ace15110fa9b55586357e39d516c62da6111bfb01144d13

See more details on using hashes here.

Provenance

The following attestation bundles were made for npmstat-0.1.2b2.tar.gz:

Publisher: release.yaml on cssnr/npmstat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file npmstat-0.1.2b2-py3-none-any.whl.

File metadata

  • Download URL: npmstat-0.1.2b2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for npmstat-0.1.2b2-py3-none-any.whl
Algorithm Hash digest
SHA256 a00e8ce61326c621a99a57bf30acf8e9e69cf7e684b51c48c7d45f264e9e7248
MD5 dd60fc702a62daaea3e84fdb8856a476
BLAKE2b-256 b6c608039e48a3208e728eca779891e905d587bae6d7fcc605a1e0e350b6a103

See more details on using hashes here.

Provenance

The following attestation bundles were made for npmstat-0.1.2b2-py3-none-any.whl:

Publisher: release.yaml on cssnr/npmstat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page