npm Package Size
Free online npm package size comparison tool
Comparing npm Package Sizes
Package size affects download time, install time, and bundle size. This tool fetches package metadata from the npm registry and compares unpacked sizes. Smaller packages lead to faster CI builds and smaller production bundles.
How to Compare Packages
Enter package names (e.g., react, vue, lodash) and click Compare. The tool shows the latest version and unpacked size for each package. Use this when choosing between alternative libraries.
▶What is unpacked size?
Unpacked size is the total size of all files in the package after extraction. This includes source code, documentation, and tests. Only a portion may end up in your production bundle.
▶Does unpacked size equal bundle size?
No. Tree-shaking removes unused exports, and bundlers further optimize the code. Use a bundler analyzer for actual bundle impact.