npm Package Size Checker
Check how much any npm package adds to your bundle — before you install it. See minified size, gzipped size, dependency count, and download time estimates across network speeds. Powered by Bundlephobia.
Check npm Package Size
Frequently Asked Questions
Why does bundle size matter?▼
Every kilobyte your users download slows page load times, especially on mobile and slow networks. Smaller bundles mean faster Time to Interactive (TTI), better Core Web Vitals scores, and improved SEO rankings. A single large package can double your app's bundle size.
What is the difference between minified and gzipped size?▼
Minified size is the package after whitespace and comments are removed. Gzipped size is what's actually transferred over the network — modern servers compress responses with gzip or brotli. Gzipped size is the number that matters most for performance.
How can I reduce my npm package size?▼
Use tree-shakeable packages (look for ES module exports), import only what you need (e.g., 'import get from lodash/get' vs 'import _ from lodash'), choose lighter alternatives (dayjs vs moment), use dynamic imports for code splitting, and audit with tools like bundlephobia before adding new dependencies.
Can I check a specific version of a package?▼
Yes! Enter the package name with the version, e.g. '[email protected]' or '[email protected]'. This lets you compare bundle sizes between versions to see if upgrading will affect your bundle.
Related Products
on GumroadTypeScript Quick Reference Toolkit
5 practical reference files for TypeScript developers: cheatsheet, TS vs JS comparison, 20 utility types with real examples, tsconfig best practices template, and 15 common mistakes guide. Print it. Keep it on your desk.
Buy on Gumroad →DevPlaybook Interview Vault
210+ real technical interview questions with model answers, asked at Google, Meta, Amazon, Microsoft, Stripe, and Shopify. Covers Frontend (55), Backend (55), System Design (50), and DSA (50). Available in English and Traditional Chinese.
Buy on Gumroad →Developer Interview Vault
210 technical interview questions with model answers, key points, and follow-up questions. Covers Frontend, Backend, System Design, and DSA — bilingual English + Traditional Chinese (ZH-TW). PWYW from $29.
Buy on Gumroad →You Might Also Need
Web Performance Checklist
Interactive web performance checklist covering images, fonts, JavaScript, CSS, caching, and server. Check off items to track your score out of 100 and export as Markdown.
Open free tool →
JS Prototype Chain Visualizer
Explore JavaScript prototype chains interactively. Visualize built-in types (Array, Map, Promise, Error) and custom classes with property lookup path diagrams.
Open free tool →
JavaScript Formatter & Minifier
Format and beautify JavaScript code with proper indentation, or minify it to reduce bundle size. Handles strings, template literals, comments, and nested blocks. Runs in your browser.
Open free tool →
More Free Tools
Related Articles
Vite 6 vs Webpack 5 深度對決:2026 大型專案遷移實戰指南
2026 年最完整的 Vite 6 vs Webpack 5 深度比較與遷移指南。涵蓋效能基準測試、分塊策略、CSS Modules、環境變數轉換、常見陷阱與真實大型專案遷移清單。
Rspack vs Webpack 5: Rust-Powered Bundling Speed in 2026
Deep dive into Rspack vs Webpack 5 in 2026. Performance benchmarks (5-10x faster), webpack plugin compatibility, migration guide, and when to switch to the Rust-powered bundler from ByteDance.
Vite 6 vs webpack vs esbuild vs Turbopack: Build Tool Comparison 2026
In-depth 2026 comparison of JavaScript build tools: Vite 6, webpack 5, esbuild, and Turbopack. Build speeds, HMR, plugin ecosystems, migration paths, and when to use each.
Vite 6 vs Webpack 5 vs Turbopack: Which Bundler Wins in 2026?
A detailed comparison of Vite 6, Webpack 5, and Turbopack build performance, HMR speed, configuration complexity, and production output. Includes real benchmark data and a decision guide for 2026.
Vite vs Webpack vs Turbopack vs esbuild: Build Tool Comparison 2026
Compare Vite, Webpack, Turbopack, and esbuild on cold start, HMR speed, bundle size, and ecosystem fit. Includes benchmarks, config examples, and migration guides for 2026.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →