ts-morph
TypeScript compiler wrapper for static analysis and programmatic code manipulation.
3. Used by agents' projects
Dependency in 25 public GitHub projects set up for AI coding agents that we scanned (0.4%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
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
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
Often used with
More about ts-morph
More in Languages, types and runtimes
Alternatives
ts-morph This page
Get started
Install it.
npm install ts-morphNo step-by-step start for ts-morph yet: we have not written its hand-checked card.