apiflow
A dependency map for systems that talk over HTTP. Which screens break if you change
an endpoint or a response field — answered before you edit, with the file:line for every
hop.
How it works
link joins them. The
map is a file, derived from content alone — two people scanning the same commit get the same bytes,
and nothing is hosted.Install
npm install -g @junixlabs/apiflow
apiflow project add "web" --fe=/path/to/frontend [--be=/path/to/api]
apiflow project scan web
apiflow impact ~/.apiflow/projects/web/fe.apimap --field=email
Every claim carries its confidence
| Label | What it means |
|---|---|
exact |
the path is a literal at the call site |
inferred |
one half was derived — a template string, an implicit verb |
guess |
the path was assembled, or the screen was reached through a wide module hop |
| unresolved | call sites the scanner could not read. 0 screens means nothing in this map calls it — never nothing calls it |
Audited on a real Next.js app: 28 guess-level claims sampled, the endpoint was right 28/28, the
screen 17/28. Read exact and inferred as answers, guess as a lead worth thirty seconds.
Documentation
Every page below is a transcript replayed by CI, not prose about the tool — one that stops matching what the tool prints fails the build. How that works →
Your first impact answer
The whole path against a four-file fixture committed to this repo.
upcomingA wrapper definition is not a call
A real defect, written down before it is fixed. CI asserts this one still fails.
referenceprobe — confirm by running
Turn “the code declares this field” into “the API actually sent it”.
referenceFE here, BE elsewhere
Two machines, one map, no server. The file travels; nothing is hosted.
- The
.apimapformat — the public contract, and the gap it still has - What kind of product this is — the category, its graveyard, and the two roads Mermaid and draw.io took