npm_downloads
Fetch npm download counts for any package by period: last day, last week, or last month.
Instructions
Fetch npm download counts for a package over a given period (last-day, last-week, last-month).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "npm_downloads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | npm package name | |
| period | No | Download count period | last-month |