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
- 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
- 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
- Question: How to determine if a tuple element is optional
- Filesystem implementations must throw specific `Error` subclass in order to work, but that subclass is not exported properly
- Docs
- TypeScript not yet supported