Import Weight

See the minified and gzipped size of every package you import, right next to the import in VS Code. Works with npm, pnpm, Yarn classic and monorepos. Runs 100% offline; sizes update on save and are cached per package version.

Free version

Inline import sizesHover details

Import Weight Pro

Pro is sold separately, $9 one-time. Adds size budgets with warnings, a heavy-imports report, lighter-alternative suggestions, and whole vs single-import comparison.

Size budgetsHeavy imports reportImport comparison

Support: bhamlefty@gmail.com