npm-trends
Installation
SKILL.md
npm Trends
Fetch and compare download statistics for npm packages using the official npm registry API.
Usage
<your-skill-directory>/npm-trends/scripts/npm_trends.ts <package1> [package2] ... [options]
Options
| Option | Description |
|---|---|
--period |
Time period: last-day, last-week, last-month, last-year. Default: last-month |
--range |
Custom date range: YYYY-MM-DD:YYYY-MM-DD (overrides --period) |
--daily |
Show daily breakdown (with --range) |
--trends |
Show weekly trends with growth analysis and ASCII chart |
--weeks |
Number of weeks for trend analysis (default: 12, max: 52) |