Static Module Dependency Graph
Map supplied JavaScript modules, unresolved imports and dependency cycles locally.
Loading tool…
How to use Static Module Dependency Graph
Map supplied JavaScript modules, unresolved imports and dependency cycles locally. Provide a JSON filename-to-source map. The tool parses static import/export declarations, resolves exact relative virtual filenames, and reports cycles. Bare package names and unsupplied files remain unresolved; nothing is fetched.
- Provide json object: relative filename → module source.
- Choose the supported mode and run the tool. Review its assumptions and any reported errors.
- Copy the result or download a separate output; reset to clear the current form.
Good to know
- 1–50 modules,200,000 aggregate input characters,50,000 per source and2,000 static edges. Explicit ECMAScript2022 only.
- Exact virtual paths only; no extension guessing, package resolution, dynamic-import resolution, filesystem reads or import fetching. Escaping the supplied virtual root is rejected.
- 10-second library startup and2-second isolated computation limit.
- Inputs are processed on this device and are not automatically saved or uploaded.
Common questions
Why is an import marked unresolved?
Only exact relative filenames in your JSON map can resolve. Package names, URLs, omitted files and implicit extensions are deliberately left unresolved rather than guessed.
Does this change my original input?
No. The tool returns a separate result. Review that output before using it in another application.
Keep going with related tools
All developer →JavaScript AST Explorer
Inspect syntax-node types and source ranges in a JavaScript script or module.
DeveloperJavaScript Formatter and Minifier
Format JavaScript or compact parsed script/module source without executing it.
DeveloperSource Map Explorer
Decode basic version3 source maps and inspect generated/original mapping anchors.
DeveloperSequence Diagram SVG Builder
Turn participant and ordered message CSVs into a local sequence diagram SVG with call, signal, return and self arrows plus exact source evidence.
DeveloperWebpack Stats Bundle Reviewer
Review actual selected Webpack 5 stats assets, chunk references and module source sizes while keeping emitted bytes separate.
DeveloperState Transition Test Suite Builder
Build reset-to-start source test sequences covering every reachable transition in a declared deterministic state graph.