Back to directory

ts-morph

A TypeScript wrapper around the TypeScript Compiler API that makes it easier to programmatically navigate and manipulate TypeScript and JavaScript source code.

ts-morph

ts-morph is a monorepo for a TypeScript Compiler API wrapper of the same name and related projects. The core ts-morph package provides an easier way to programmatically navigate and manipulate TypeScript and JavaScript code than working with the Compiler API directly.

A separate package, ts-morph bootstrap, exists to get a project quickly set up with the Compiler API on its own. The project's documentation points to a TypeScript AST Viewer as a resource for exploring how source code maps onto the abstract syntax tree that these tools operate on.

More in Code quality

See all 94
  • Critic

    critic.run

    A code-change viewer, backed by Y Combinator, built for reviewing work written by coding agents, presenting a plain-language narrative of each change alongside the diff and a running conversation with the agent.

  • GitIntel

    hoangsonww.github.io

    An MCP server that computes git repository analytics such as hotspots, churn, temporal coupling, knowledge maps and risk scoring entirely from local commit history, for AI coding agents like Claude Code and Codex.

  • Axint

    axint.ai

    A verification layer for AI coding agents working on Apple projects: it runs real Xcode builds and tests against the Swift an agent wrote, reconciles static analysis findings against that evidence, and returns a signed proof with the exact repairs still needed.