npm package bundle size from Bundlephobia's public size
dev_bundlephobianpm package bundle size from Bundlephobia's public size API: minified and gzipped size in bytes, version, number of dependencies, repository and description. Give a package name, optionally with @version (e.g. react@18.3.1). Sizes are as Bundlephobia computes them. Related tools on this server, for a different need: dev_covers when you need sportsbook odds from Covers.com odds screens: every listed; dev_fanduel when you need FanDuel Sportsbook game lines for NFL, NBA, MLB, NHL, WNBA. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
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>"
},
"name": "dev_bundlephobia"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | npm package name, optionally with @version, e.g. react or lodash@4.17.21 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| package | No | ||
| version | No | ||
| checkedAt | No | ||
| gzipBytes | No | ||
| repository | No | ||
| description | No | ||
| minifiedBytes | No | ||
| hasSideEffects | No | ||
| dependencyCount | No |