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
- 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
- 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
- ts-morph package does not re-export types from @ts-morph/common
- Removing the last named export creates a star export
- Docs
- TypeScript not yet supported