wix/import-cost
displays the import size of the package you are importing inside the code editor observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3336
- days_rel: n/a
- days_push: 893
- n_releases_24m: 0
Adoption not part of the score
1382 stars · 69 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Import Cost is a VSCode extension (plus a reusable Node module) that displays the size of imported packages inline in the code editor, using webpack to calculate bundle cost. It supports JavaScript and TypeScript import/require syntax and has community plugins for JetBrains, Vim, and Atom.
Use cases
- show package size of imports inline in vscode
- keep bundle size under control while coding
- check how heavy an npm dependency is before importing it
- monitor import cost in javascript and typescript projects
- build a similar import-size extension for another IDE
When to choose
- you write JavaScript or TypeScript and want immediate feedback on dependency weight
- you use VSCode (or a supported editor plugin) and care about bundle performance
- you want to avoid accidentally importing large packages
When to avoid
- you work in languages other than JavaScript/TypeScript
- you need exact production bundle analysis rather than per-import estimates
- you don't use an editor that has an import-cost plugin
Facets
plugin · maturity stable
developer-tools monitoring build-tool developer-tools frontend web-development performance editor-plugin cross-platform vscode-extension bundle-size import-size webpack javascript typescript performance-analysis nodejs
3 sources
- readme: https://github.com/wix/import-cost · fetched 2026-08-28 · 9d666d2e4245
- homepage: https://marketplace.visualstudio.com/items?itemName=wix.vscode-import-cost · fetched 2026-08-29 · 87e1abd2bd29
- registry_npm: https://registry.npmjs.org/import-cost · fetched 2026-08-29 · df5563515541
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| wix/import-cost | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem