codemod
codemod copied to clipboard
The end-to-end platform for creating, sharing, and running codemods with engines like jscodeshift, ast-grep, ts-morph, and more. Automate code migrations, cleanups, and refactors for you, your team, a...
Codemod
Codemod platform helps you create, distribute, and run codemods in codebases of any size.
The AI-powered, community-led codemods enable you to automate framework upgrades, large refactoring, and boilerplate programming with unparalleled speed and developer experience.
We are making dream migrations a reality for all developers in the world, one framework at a time.
Documentation
For details on how to use Codemod platform, check out our documentation.
Quickstart
To get started, you can install Codemod CLI:
npm i -g codemod
With Codemod CLI, you can:
1. Build codemods
You can easily build codemods using AI by opening a local project, making changes in a file, and running the following command:
codemod learn
2. Publish codemods
You can publish a compatible local codemod package to Codemod Registry with:
codemod publish
3. Run codemods
codemod [codemod name]
Community
Codemod community can be found on Slack, where you can ask questions, share your feedback, and contribute to the community.
Our Code of Conduct applies to all Codemod community channels.
Contributing
To contribute to Codemod platform, please refer to the contributing guide.
Bounties

Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!