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
- leadingTrivia at the file level is not actually leading
- IndexSignatureDeclarationStructure::keyType can't be a WriterFunction?
- ImplementedKindToNodeMappings is missing some children
- Feaure request: Ability to defer manipulations and generate TextChange[] or FileTextChanges[]
- 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"`
- Docs
- TypeScript not yet supported