npm_downloads
Retrieve download statistics for npm packages over specified time periods to analyze usage trends and package popularity.
Instructions
Get download statistics for an npm package
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 | Package name | |
| period | No | Time period | last-month |