Example report · sveltejs/svelte @ 99c0745

Svelte: a map of its code, package by package.

Svelte is the web framework, its compiler and runtime. Wingbox built the graph of the repository, with no model, and the map stacks its code by package: 412 files and 1,367 dependencies on 24 planes, the packages the others depend on lower. Click a file to see what a change to it reaches.

Svelte on 24 package planes, one file selected with its blast radius
Open the live mapRead the reportsveltejs/svelteDrag to turn the planes, scroll to zoom, click a file for its blast radius.
The report

What Wingbox wrote on the whole repository

REPORT.md as the tool wrote it, without its own guesses of architecture layers.

Wingbox report: svelte

Generated on 2026-11-16 by wingbox 0.2.6 from the code graph of this project. Open map.html in this folder for the interactive map.

Key findings

  • A change to packages/svelte/src/internal/shared/utils.js reaches 1,367 of 3,547 modules (39%) within 2 hops; 39 modules depend on it directly.

Summary

Modules3,547
Dependencies between modules5,806
Functions, constants, classes and types2,735
Languagesjs 3,500, ts 47
Boundary violations0

Most depended-on modules

A change in one of these files reaches the most code (test files are left out). "Within 2 hops" counts the modules that depend on it directly or through one other module.

FileDirect dependentsWithin 2 hops
packages/svelte/src/index-server.js1,1401,309
packages/svelte/src/internal/client/index.js63102
packages/svelte/src/compiler/utils/ast.js62124
packages/svelte/src/compiler/errors.js5696
packages/svelte/src/internal/client/reactivity/effects.js55145
packages/svelte/src/internal/client/runtime.js50180
packages/svelte/src/compiler/state.js45105
packages/svelte/src/constants.js44224
packages/svelte/src/internal/server/index.js4051
packages/svelte/src/internal/shared/utils.js391,367
packages/svelte/src/utils.js34131
packages/svelte/src/internal/disclose-version.js3333
packages/svelte/src/index-client.js3233
packages/svelte/src/internal/client/dom/hydration.js29105
packages/svelte/src/compiler/phases/nodes.js2669

Where to start reading

Files that nothing else depends on and that pull in the most modules:

  • benchmarking/run.js, depends on 5 modules
  • packages/svelte/src/reactivity/window/index.js, depends on 5 modules
  • packages/svelte/scripts/generate-browser-support.ts, depends on 4 modules
  • packages/svelte/src/store/index-client.js, depends on 4 modules
  • packages/svelte/src/legacy/legacy-server.js, depends on 3 modules
  • benchmarking/compare/index.js, depends on 2 modules
  • benchmarking/compare/runner.js, depends on 2 modules
  • playgrounds/sandbox/ssr-prod.js, depends on 2 modules
  • benchmarking/profile-compiler.js, depends on 1 module
  • packages/svelte/rollup.config.js, depends on 1 module

Next steps

Check what a change will reach before you make it:

wingbox impact packages/svelte/src/index-server.js

Rebuild after the code changes with wingbox build. This report and the map are rewritten on every build.

Limits

The graph comes from static parsing. Dependencies created at run time (dependency injection, reflection, generated code) are not visible here.

Method

How this was made

  • Wingbox 0.2.6 from PyPI on the whole repository at commit 99c0745, 2026-11-16: one command, wingbox build .
  • The map leaves out the 3,135 test files and puts every other file on the plane of its package, the folder of its nearest package manifest. The planes are stacked by the dependencies between packages.
  • Checked against the code. TypeScript and JavaScript dependencies compared with an import resolver written apart from Wingbox: 5,806 in the graph, 4,617 found by the resolver, 4,617 in both. The more in the graph come from the conditional exports of the svelte package: an import of "svelte" is linked to both its browser and its server entry, where the resolver picks one.

Run it on any repository: pipx install wingbox && wingbox build . · Wingbox on GitHub (MIT)