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
JSON Formatter
Format, validate, minify, and prettify JSON data instantly.
JWT Decoder
Decode and inspect JWT tokens: header, payload, signature, expiration.
Base64 Encoder/Decoder
Encode text or files to Base64 and decode back. UTF-8 safe.
Regex Tester
Test regular expressions in real-time with match highlighting and groups.
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