Bundlephobia History
bundlephobia_historyFetch minified + gzipped bundle size for each of up to 5 specified versions of an npm package and return them side-by-side for size regression tracking.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"package": "lodash",
"versions": "4.17.20,4.17.21"
},
"name": "bundlephobia_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | ||
| versions | Yes | Comma-sep version list (max 5 to avoid timeouts) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| history | Yes | Size data for each version | |
| package | Yes | Package name |