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
- Support the following features within the "formatting" module
- node.setOrder() throws ManipulationError if comment is present
- `getDescendantAtStartWithWidth` does not work for reported diagnostic on exported functions
- isFunction() or isCallable() type queries?
- getType() for `unique symbol` returns `typeof {nameOfVariable}` rather than `symbol`
- `"module": "NodeNext"` seems to ignore `package.json`'s `"type": "module"`
- How to apply CodeAction such as "Convert 'require' to 'import'"?
- Can’t add files with `Project.addSourceFilesAtPaths()`
- findReferencesAsNodes() memory consumption
- Question: How do I find references of `default` in `export default <CallExpression>`?
- Docs
- TypeScript not yet supported