@topogram/extractor-react-router
v0.1.1
Published
Package-backed Topogram extractor for React Router UI surfaces.
Readme
@topogram/extractor-react-router
Package-backed Topogram extractor for React Router UI surfaces.
It runs only during topogram extract, reads source files, and emits review-only UI candidates. Topogram core owns persistence, reports, reconcile, adoption, and canonical topo/** writes.
Usage
npm install --save-dev @topogram/extractor-react-router
topogram extractor check @topogram/extractor-react-router
topogram extract ./my-react-app --out ./topogram-extract --from ui --extractor @topogram/extractor-react-routerWhat It Extracts
- React Router route definitions from route object arrays and
<Route />JSX. - Reviewable screen and route candidates.
- Conservative non-resource flow candidates for auth, onboarding, settings, dashboard/reporting, search/filter, and bulk review routes.
- UI presentation hints that Topogram core can use to infer widget candidates.
The extractor is intentionally precision-first. Weak evidence remains review-only and should be adopted only after a human or agent confirms behavior and ownership.
Verification
npm run check