Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

ts-morph

TypeScript compiler wrapper for static analysis and programmatic code manipulation.

Languages, types and runtimesNPM

GitHubWebsite

1. License

License from npm.

github.com/dsherret/ts-morph

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What ts-morph does

TypeScript compiler wrapper for static analysis and programmatic code manipulation.

ts-morph popularity

68 / 100
Gid Score, #504 overall
46.3M
downloads a week, npm
6,233
GitHub stars
25
agent projects use it
ts-morph: downloads per weeknpm, ts-morph 46,285,365
ts-morph: GitHub starsdsherret/ts-morph 6,233

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How ts-morph is used

  • ts-morph is a dependency in 25 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.5% of the 4,867 JavaScript/TypeScript ones), #12 of 70 in languages, types and runtimes.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 72; those are left out of every share on this page.
  • Projects that use it most often also use ESLint (88.0%), tsx (56.0%), Vitest (64.0%).

By coding agent

19 projects, 0.6%
15 projects, 0.6%
13 projects, 0.4%
6 projects, 1.3%
6 projects, 1.7%
5 projects, 1.1%

Often used with

In 88.0% of its projects
In 56.0% of its projects
In 64.0% of its projects
In 64.0% of its projects
In 44.0% of its projects
In 44.0% of its projects
In 96.0% of its projects
In 60.0% of its projects

More about ts-morph

More in Languages, types and runtimes

Alternatives

ts-morph This page

MITGid 6846.3M/wk

Compare ts-morph with another tool

Get started

Install it.

npm install ts-morph

No step-by-step start for ts-morph yet: we have not written its hand-checked card.