Skip to main content
btheo.com btheo.com > press start to play
NEW POST: NODE.JS SECURITY 2025 OPEN FOR FREELANCE 10+ YEARS EXP REACT × NODE × AWS NEW POST: NODE.JS SECURITY 2025 OPEN FOR FREELANCE 10+ YEARS EXP REACT × NODE × AWS
TIL · 16 FEB 2025 · NOTE #006 ESC
TIL NOTE #006

The Hidden Cost of Large npm Packages

Some npm packages are too large for what they provide.

Before installing a package:

  • Check its size using bundlephobia.com.
  • See if a lighter alternative exists.
  • Ask if you really need it or can write it yourself.

Smaller bundles = faster loading times.