nest-graph-inspector
v0.5.2
Published
NestJS module graph inspector for discovery and dependency analysis
Maintainers
Readme
Nest Graph Inspector reads your NestJS runtime container and generates a dependency graph of modules, providers, controllers, and their relationships.
Preview
This is a static preview. Try the interactive viewer with AI Chat →
"Load Example" to see result without installing it
Why It Matters
Shipping speed depends on confidence. Teams need runtime visibility to trace impact, find architecture issues early, and ship safer changes.
- Ship Changes Faster — trace impact in minutes, not meetings, before touching critical providers or modules
- Cut Regression Risk — catch circular and high-coupling patterns before they become release blockers
- Make PR Reviews Concrete — replace assumptions with runtime-backed module and provider-level evidence
- Onboard With Real Context — give new engineers a live map of how the system actually connects and behaves
- Find Architecture Issues Early — use Issue Finder to surface structural problems before they grow into production incidents
Feature List
- Dependency Graph — visualize modules, providers, controllers, imports, and dependency edges from the running app
- Circular Detection — surface circular relationships early so teams can resolve risky loops before release
- Relation Focus — coming soon: focus provider/module pairs to see how they relate and where dependencies connect
- Context-Aware AI Assistant — ask graph and trace questions in plain language with context-aware answers, always free in the viewer
- Process Sequence — coming soon: generate sequence diagrams from an entry point to completion flow
- Direct Run — coming soon: execute runtime-resolved services and functions directly from graph context
Quick Start
npm install nest-graph-inspector it's not only NPM, see installation for other package manager
import { Module } from '@nestjs/common';
import { NestGraphInspectorModule } from 'nest-graph-inspector';
@Module({
imports: [NestGraphInspectorModule],
})
export class RootModule {}Start your app — the viewer URL will be printed in your console.
For full configuration options and output types, see the documentation →
Documentation
Full setup guide, configuration options, and use cases are available on the documentation site.
