Refactor code, migrate to new APIs, and better understand your codebase.
Warning This project and all packages are still a work in progress. The APIs are not stable and may change.
Programmatically analyze and run transformations across TypeScript or JavaScript files using TS Morph.
Codebases grow and change over time. As they do, it becomes more difficult to maintain and evolve them. This is where codemods can help. Codemods are a way to make large-scale, non-trivial changes to codebases. They are a great way to refactor code, migrate to new APIs, and better understand your codebase.
npx tsxmod <directory> --watch
TODO
generate typescript docs using ts morph
extract exports using ts morph