npm Package Size
Free online npm package size comparison tool
About NPM Size
Compares the latest published size of npm packages by querying the public npm registry (registry.npmjs.org). Add package names to a list, click Compare, and the tool fetches the latest version and unpacked size for each. Your package list is saved locally in the browser so it persists between visits.
How to Use
1. Type a package name (e.g. react) in the input and press Enter or click Add 2. Add more packages to build your comparison list (duplicates are ignored) 3. Click Compare to fetch data for each package from the npm registry 4. The results table shows package name, latest version, and unpacked size in KB 5. Click the x on any chip to remove it from the list
Data Source & Limitations
Each package is fetched from https://registry.npmjs.org/<name>/latest. Unpacked size comes from dist.unpackedSize in the registry manifest and is shown in KB. The Gzipped column is present in the data model but is always displayed as a dash (the value is never populated). Failed fetches show a dash for all fields. Packages are queried sequentially, so large lists take longer.
▶Why is the Gzipped column always empty?
▶Where does the data come from?
▶Does it show bundle size after tree-shaking?
▶Is my package list remembered?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee