npm_stats
Get download statistics for a JavaScript package on the npm registry. Returns the total download count for the last week to gauge popularity and usage trends. (cost: 1 credit)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "npm_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | No | string, required, npm package name, e.g. "react" |