jsdelivr_npm_version_stats
Fetch CDN usage statistics for a specific npm package version and time period, helping compare release adoption.
Instructions
Get stats for a specific npm package version on jsDelivr.
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": "<package>",
"version": "<version>"
},
"name": "jsdelivr_npm_version_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time period: floating (day|week|month|quarter|year), static (s-month|s-quarter|s-year), or date (YYYY-MM|YYYY-Qq|YYYY). Default: month | |
| package | Yes | npm package name, e.g. 'jquery' or '@popperjs/core' | |
| version | Yes | Exact version, e.g. '3.7.1' |