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
- enum addMember | insertMember
- `ImplementedKindToNodeMappings` does not include some types
- .getChildSyntaxList() unexpectedly returns undefined for UnionTypeNode
- transform doesn't handle recursively transformed nodes (fix suggested)
- Organize Imports with specific ending for module node16
- getParentIfKindOrThrow throws on CallExpression syntax
- 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[]
- Docs
- TypeScript not yet supported