NPM Package Size Analyzer
bundlephobia.com
2
Leaving SiteNav
External Link Disclaimer
You are about to visit bundlephobia.com. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
A specialized performance analysis tool that helps frontend developers understand the real-world bundle size impact of any npm package before adding it to a project. Powered by Rspack for fast, accurate tree-shaking analysis, the platform analyzes the full dependency tree of a package and calculates its gzipped and minified sizes, download times on various connection speeds, and percentage of bundle composition. When a developer searches for a package, the tool shows the total size including all transitive dependencies, individual export sizes so teams can import only what they need, and side-effect analysis to determine whether tree-shaking will effectively remove unused code. The platform also supports scanning an entire package.json file, providing a comprehensive breakdown of the total bundle impact across all dependencies at once, with per-package cost analysis and suggestions for lighter alternatives. Historical size trends are tracked over time, showing whether a package has been growing or shrinking with recent releases. Additional features include comparison mode where two packages can be evaluated side by side, badge generation for README files showing real-time size information, and an MCP integration for AI-powered development workflows. The tool processes packages using real webpack and Rspack configurations with production optimizations enabled, ensuring that reported sizes closely match what users will actually download. For each package, it also displays the number of downloads from npm registry, license information, and whether the package includes native binaries or WebAssembly components that might affect bundling strategy.
Statistics
2
Views
0
Clicks
0
Like
0
Dislike