ts-morph
https://github.com/dsherret/ts-morph
TypeScript
TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported1 Subscribers
Add a CodeTriage badge to ts-morph
Help out
- Issues
- How to extract ts type from record in ts-morph
- Check out tree-sitter
- How to get object string index name?
- Single-line comment with AddPropertyAssignment caused an extra comma
- NEW API:SourceFile.addGlobalDeclare
- No way to `findReferences` for exported arrow function
- Deep structures allowing for one parse
- can't find constructor references of indirectly import
- Allow removing nodes in SourceFile transform traversal
- Calling `addSourceFileAtPathIfExists` has a side effect of internally remembering directories that don't exist which causes subsequent operations to fail
- Docs
- TypeScript not yet supported