npm_downloads
Retrieve total download counts for any npm package over a chosen period, from last day to custom date ranges, to track popularity and usage trends.
Instructions
Get total download count for a package over a period (last-day, last-week, last-month, last-year, or a custom date range like 2025-01-01:2025-12-31).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name | |
| period | No | Period: 'last-day', 'last-week', 'last-month', 'last-year', or 'YYYY-MM-DD:YYYY-MM-DD' (default: 'last-week') |