Badges for npm package bundle size — minified, gzipped, tree-shaking.
Display bundle size stats for any npm package via Bundlephobia.
| Badge | Endpoint | Description |
|---|---|---|
| Minified | /bundlephobia/min/{package} | Minified size |
| Minified + gzipped | /bundlephobia/minzip/{package} | Minified + gzipped size |
| Tree-shaking | /bundlephobia/tree-shaking/{package} | Tree-shaking support |
Path Parameters
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/bundlephobia/minzip/react.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/bundlephobia/minzip/react.svg?mode=light"></picture>
Uses Bundlephobia API. No API key required. Cached 24 hours.