Get daily npm download range
get_download_rangeRetrieve a day-by-day npm download series for a package with total downloads, daily average, and peak day.
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": {
"package_name": "<package_name>"
},
"name": "get_download_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Range window: "last-week", "last-month" (default), or "YYYY-MM-DD:YYYY-MM-DD". | |
| package_name | Yes | npm package name (e.g. "express", "vite", "vitest"). |