ตัวจัดรูปแบบและโค้ด
ตัววิเคราะห์ขนาด Bundle (จำลอง)
Paste a package list, estimate the resulting bundle weight.
- KB
- KB
- KB
- KB
Defaults are rough min+gzip sizes for popular packages. Tweak the KB column with the real number from npmjs.com when accuracy matters.
Estimated weight
176 KB
≈ 59 KB gzipped
Healthy
Budgets: <100 KB gzipped is healthy for landing pages, 100-300 KB is the typical SPA range, >300 KB suggests aggressive code-splitting.
หมายเหตุจากบรรณาธิการ
Understanding · What's actually in your JavaScript.
บทเชิงลึกนี้มีให้บริการเฉพาะภาษาอังกฤษในขณะนี้ เครื่องมือแปลงด้านบนทำงานในภาษาของคุณ บทความอธิบายแบบยาวยังไม่ได้แปล
คำถามที่พบบ่อย
Quick answers.
›How is the bundle size calculated?
The tool simulates a production build by adding the minified and gzipped sizes of the requested package and its entire dependency tree.
›Is this the exact size I will see in my app?
No, this is an estimate. Your final bundle size depends on your build tool's tree-shaking capabilities, duplicate dependencies, and code-splitting configuration.
›Does it support private packages?
No. This tool uses a public metadata cache to estimate weights; it cannot access private registries or local source code files.
›What is the difference between Minified and Gzipped?
Minified shows the size after removing whitespace and shortening variables. Gzipped reflects the compressed size actually sent over the network to the user's browser.
ผู้คนยังค้นหา
เครื่องมือที่เกี่ยวข้อง
More in this room.
- เครื่องสร้าง Docker Composeไฟล์ Compose จากรายการบริการ
- Kubernetes Deployment + ServiceK8s Deployment + Service manifest ในไฟล์เดียว
- GitHub Actions WorkflowCI workflow สำหรับ Node, Python หรือ Go ในไม่กี่วินาที
- GitLab CI Pipeline.gitlab-ci.yml แบบ Multi-stage — build / test / deploy
- Terraform Module Stubโครงสร้าง variables.tf + main.tf + outputs.tf
- ตัวสร้าง Dockerfile Best-PracticeDockerfile แบบ Multi-stage + .dockerignore — Node, Python, Go