Static Analysis
Analyze Effect programs without execution. Extracts generators, pipes, services, layers, error handlers, and control flow.


Static Analysis
Analyze Effect programs without execution. Extracts generators, pipes, services, layers, error handlers, and control flow.
Mermaid Diagrams
Auto-generate flowcharts, railway diagrams, service maps, error flows, concurrency views, and more.
Complexity Metrics
Calculate cyclomatic complexity, cognitive complexity, path counts, nesting depth, and parallel breadth.
Semantic Diff
Compare two versions of an Effect program to see what changed - steps added, removed, or modified.
# Installnpm install effect-analyzer
# Analyze a filenpx effect-analyze ./src/my-program.ts
# Generate a railway diagramnpx effect-analyze ./src/my-program.ts --format mermaid-railway
# Compare versionsnpx effect-analyze HEAD:program.ts program.ts --diff