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![CodeTriage badge for dsherret/ts-morph](/dsherret/ts-morph/badges/users.svg?count=1)
Help out
- Issues
- 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
- getBodyText() doesn't work as would be expected
- fix: getBodyText() doesn't work as would be expected
- can't find constructor references of indirectly import
- perf: switch to tinyglobby to drop 15 dependencies
- getDerivedClasses() isn't correct in some cases
- fix: getDerivedClasses() isn't correct in some cases
- Docs
- TypeScript not yet supported