CODESEEDSign in
Explore projects
TypeScriptintermediatecli

Monorepo Dependency Graph Visualizer

Tool that analyzes a monorepo (npm/pnpm/yarn workspaces), builds the internal dependency graph, and detects circular dependencies.

5 steps

Project steps

  1. 01

    Package discovery

    Finds all package.json in the workspace; extracts name and dependencies.

  2. 02

    Dependency graph

    Builds a directed graph with graphlib: package → dependency.

  3. 03

    Cycle detection

    DFS with node coloring for cycle detection; reports full path.

  4. 04

    Impact analysis

    When a package changes, shows which other packages are affected.

  5. 05

    SVG Export

    Generates SVG diagram with d3-graphviz for browser visualization.

Recommended resources

Ready to build this?

Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.

5 steps

Tech stack

TypeScriptNode.jscommanderd3-graphvizgraphlib