Bundlephobia
Check an npm package's compressed size, download time, and dependency makeup before installing it.
What it is
Bundlephobia analyzes the size of npm packages. Enter a package name to see its minified and gzipped size, estimated download time, version history, and dependency composition. Export analysis is also available for packages that meet its requirements.
Why it is selected
A quick check before adding a dependency can expose an unusually large package or a size change between versions. That is easier than discovering the extra weight after it reaches your production bundle.
Who it suits
Developers managing frontend JavaScript transfer size and authors maintaining npm packages.
Useful for
- Comparing minified and gzipped sizes before adding a package
- Checking size trends and the contribution of package dependencies
Usage note
The figures come from Bundlephobia’s build, not your production bundle. Import style, tree shaking, the bundler, and build configuration can change the final size, so verify the result against your own output.