Bundlephobia

Badges for npm package bundle size — minified, gzipped, tree-shaking.

Display bundle size stats for any npm package via Bundlephobia.

Available badges

BadgeEndpointDescription
Minified/bundlephobia/min/{package}Minified size
Minified + gzipped/bundlephobia/minzip/{package}Minified + gzipped size
Tree-shaking/bundlephobia/tree-shaking/{package}Tree-shaking support

Quick examples

![minzip](https://shieldcn.dev/bundlephobia/minzip/react.svg)
![min](https://shieldcn.dev/bundlephobia/min/lodash.svg)
![tree-shaking](https://shieldcn.dev/bundlephobia/tree-shaking/lodash-es.svg)
GET/bundlephobia/minzip/:package.svg

Path Parameters

required
![badge](https://shieldcn.dev/bundlephobia/minzip/react.svg)
badge preview

Data source

Uses Bundlephobia API. No API key required. Cached 24 hours.