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
- Investigate getting insert index of child node of object literal expression
- Allow finding importId of a re-export
- Docs: document what directory the parameters to .addFiles...() method family should be relative to
- Named type-only export declarations without a module specifier causes indent issues
- getSourceFiles() returns files outside of project directory in a yarn monorepo
- Move npm publishing to CI
- Invalidate all symbols and types after a manipulation?
- Reordering properties in an ObjectLiteralExpression
- Convenient method to avoid adding named imports multiple times
- Show how to add factory generated statements
- Docs
- TypeScript not yet supported