Skip to content

Get Started

NPM Stat

PyPI Version TOML Python Version PyPI Downloads Pepy Total Downloads Codecov Workflow Test GitHub Last Commit GitHub Issues GitHub Discussions GitHub Forks GitHub Repo Stars GitHub Org Stars Discord Ko-fi

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

If you run into any issues or have any questions, support is available.

Install

From PyPI: https://pypi.org/p/npmstat

python -m pip install npmstat
uv add npmstat
npmstat
dependencies = ["npmstat"]

From GitHub using pip.

python -m pip install git+https://github.com/cssnr/npmstat.git

From Source using pip.

git clone https://github.com/cssnr/npmstat.git
python -m pip install npmstat

Uninstall.

python -m pip uninstall npmstat

Usage

  • From the command line run.
npmstat stats @cssnr/vitepress-swiper

View the CLI Documentation for more details.

  • Or as a Python module.
from npmstat import api

downloads = api.get_downloads("@cssnr/vitepress-swiper")
print(downloads.json())

View the Module Documentation for more details.

 

Question

If you need help getting started or run into any issues, support is available!