devvkit / dev
npm Package Size
Check bundle sizes of npm packages: minified + gzip, compare two packages.
Fetches minified + gzip totals from Bundlephobia; falls back to the npm registry's unpacked size when Bundlephobia is unavailable. Version defaults to latest; pin with @ (e.g. lodash@4.17.21).
share this tool
related tools
Check the shipped size of npm packages: minified + gzip from Bundlephobia with an npm registry fallback. Compare two packages side by side before adding a dependency.
>[x]Features
- -Minified + gzip totals from Bundlephobia
- -npm registry fallback with unpacked size
- -Side-by-side comparison of two packages
- -Version pinning (e.g. lodash@4.17.21)
- -Percentage difference readout
- -Live API checks from the browser
>>Use Cases
- >Evaluating a dependency before adding it
- >Comparing moment.js vs. date-fns vs. dayjs
- >Auditing bundle impact for performance budgets
- >Justifying dependency swaps in code review