npm-downloads

Fetch npm package download statistics for specified periods and return per-day reports.

3|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/Mearman/marketplace --skill npm-downloads
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: npm-downloads
Source: https://github.com/Mearman/marketplace/tree/main/plugins/npm-registry/skills/npm-downloads
Command: npx skills add https://github.com/Mearman/marketplace --skill npm-downloads

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Get quick, reliable npm package download statistics over a defined time period to inform popularity, trend analysis, and release planning.

Core Features & Use Cases

  • Retrieve daily download counts for a package across time ranges (last-week, last-month, last-year or custom ranges) to monitor adoption.
  • Compare trends over periods and surface peaks to inform marketing, release decisions, or dependency auditing.
  • Handle API caching, error handling, and missing-data scenarios to provide stable analytics results.

Quick Start

Run npm-downloads with a package name to fetch its download statistics for the default period and return a structured report.

Frequently Asked Questions about npm-downloads

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get npm package download statistics for a custom date range?

To get npm package download statistics for a custom date range, you can query specific periods like last-week, last-month, last-year, or custom ranges. The tool returns a structured per-day report suitable for trend analysis and benchmarking.

What is the best way to track npm download trends for release planning?

Tracking npm download trends for release planning is best done by retrieving daily download counts across defined time periods. This approach surfaces adoption peaks and compares trends to inform your marketing and release decisions.

Can I cache npm download stats to optimize API performance?

Yes, you can cache npm download stats to optimize API performance. The retrieval process supports optional caching, alongside error handling and missing-data scenarios, to provide stable and reliable analytics results.

Does this tool provide per-day download counts for npm packages?

Yes, it provides per-day download counts for npm packages. By fetching statistics over a defined period, it returns a structured daily report that allows you to monitor adoption and compare trends over time.

How do I handle missing data when fetching npm package statistics?

Handling missing data when fetching npm package statistics is managed automatically through built-in error handling. This ensures stable analytics results even when API data is missing or incomplete during your queried period.