https://github.com/dsherret/ts-morph
TypeScript Compiler API wrapper for static analysis and programmatic code changes.
https://github.com/dsherret/ts-morph
ast code-generation javascript static-analysis typescript
Last synced: 3 days ago
JSON representation
TypeScript Compiler API wrapper for static analysis and programmatic code changes.
- Host: GitHub
- URL: https://github.com/dsherret/ts-morph
- Owner: dsherret
- License: mit
- Created: 2017-03-04T03:03:03.000Z (about 8 years ago)
- Default Branch: latest
- Last Pushed: 2025-04-21T21:04:57.000Z (12 days ago)
- Last Synced: 2025-05-01T00:58:28.073Z (3 days ago)
- Topics: ast, code-generation, javascript, static-analysis, typescript
- Language: TypeScript
- Homepage: https://ts-morph.com
- Size: 24.7 MB
- Stars: 5,367
- Watchers: 22
- Forks: 210
- Open Issues: 288
-
Metadata Files:
- Readme: readme.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-nodejs - ts-morph - TypeScript Compiler API wrapper. Provides an easier way to programmatically navigate and manipulate TypeScript and JavaScript code.  (Repository / AST)
- awesome-list - ts-morph
- awesome-typescript-ecosystem - ts-morph - TypeScript Compiler API wrapper for static analysis and programmatic code changes (Tools / Optimization)
README
# ts-morph
[](https://github.com/dsherret/ts-morph/actions?query=workflow%3ACI)
Monorepo for [ts-morph](packages/ts-morph) and related projects.
## Packages
- [ts-morph](packages/ts-morph) - TypeScript Compiler API wrapper. Provides an easier way to programmatically navigate and manipulate TypeScript and JavaScript code.
- [@ts-morph/bootstrap](packages/bootstrap) - Separate library for getting quickly setup with the Compiler API.## Resources
- [TypeScript AST Viewer](https://ts-ast-viewer.com)