codeanalyzer-typescript
Point it at a TypeScript or JavaScript project and get back one typed artifact — symbol table, call graph, and the external library targets it calls. Program analysis your agents can call.
Point codeanalyzer-typescript at a project and it emits a single analysis.json — a typed model of every module, class, interface, enum, function, and call edge, plus phantom stubs for the library calls that leave the project. It’s the TypeScript backend behind CLDK, mirroring its Python and Java siblings, usable standalone as a CLI.
Start building
Section titled “Start building” Quickstart Build the CLI and produce your first analysis.json in a couple of minutes.
What is codeanalyzer-typescript? The mental model: project in → one typed TSApplication artifact out.
CLI usage Every flag, with worked examples: output formats, caching, incremental mode, build control.
Call graph & dispatch How the checker resolves edges, what RTA expands, and how phantom nodes work.
Learn more
Section titled “Learn more” Core concepts Symbol table, call graph, external symbols, signatures, provenance, and the analysis cache.
Output schema The TSApplication data model, field by field.
Level 2: CodeQL & entrypoints What --analysis-level 2 will add, and where it stands today.
CLI options The complete flag table with defaults.