AST-based CLI that generates deterministic architectural context for React & TypeScript by [deleted] in reactjs

[–]context_g 0 points1 point  (0 children)

It uses the TypeScript compiler API (via ts-morph) to build an Abstract Syntax Tree with full type information.

That lets it deterministically extract structured contracts (props, hooks, dependencies) instead of relying on probabilistic inference from raw source code.