Skip to content

Arclens

Arclens

Static analysis for React. Interactive dependency graph on your machine.

npx arclens analyze ./src --insights

Then run npx arclens view to open the interactive graph on your machine.

Arclens viewer exploring a React dependency graph
Local interactive graph with components, hooks, and dependency edges at a glance.

Built for React codebases

From first scan to interactive exploration, everything runs locally on your machine.

component

Map your architecture

Scan React and TypeScript projects to discover components, hooks, contexts, utilities, and how they connect.

entry

Interactive viewer

Run npx arclens view locally. Explore the graph on your machine from graph.json, not a hosted dashboard.

utility

Terminal insights

Print node counts, top connections, external libraries, and optional architecture hints right in the CLI.

hook

Live watch mode

Re-analyze on file changes with arclens watch while the viewer auto-refreshes as your graph evolves.