@diffling/dfl
v0.1.2
Published
Read code in execution order. Every answer is a call chain.
Maintainers
Readme
@diffling/dfl
Read code in execution order. Every answer is a call chain.
Diffling builds a call graph over the changed symbols of a diff, then flattens it into caller-before-callee reading order, so the diff reads like an execution trace instead of a directory listing.
npx @diffling/dfl # working tree vs merge-base
npx @diffling/dfl --staged # staged changes only
npx @diffling/dfl --pr 412 # a GitHub PR in the terminal
npx @diffling/dfl 412 # a GitHub PR in the browser
npx @diffling/dfl --callers insertRow # who reaches this symbol
npx @diffling/dfl --impact # which entrypoints reach the change
npx @diffling/dfl --format json # ReviewPlan JSONInteractive terminals get the TUI; pipes get a plain tree. The Rust alpha ships tree and JSON output, not markdown.
This package is a launcher. The actual CLI is a Rust binary, delivered by one of
the @diffling/cli-* packages that npm installs for your platform: macOS
arm64/x64, Linux x64/arm64 (glibc), Windows x64. Installing with
--omit=optional skips it and the launcher will tell you so.
Source and docs: https://github.com/jaymalve/diffling
