Please Note: This repository was migrated to a monorepo called codemod.
Codemod Registry is an open-source, single-stop repository for codemods and code automation recipes. Codemod Registry brings an ever-growing variety of helpful codemods all in one place.
Codemods available in Codemod Registry are automatically integrated into the Codemod platform and all developers who have the Codemod CLI or IDE extension can then discover, share, and run those codemods with a single click.
Currently, the Codemod platform supports jscodeshift
, ts-morph
, and Uber's Piranha codemod engines. If you would like to see a specific codemod engine supported, please leave us a feature request.
If there is a codemod you would like to see available in Codemod Registry, please consider opening a PR to add the codemod. Learn more about contributing here.
Adding or using codemods in Codemod Registry allows for:
🔗 Automatic integration with the Codemod CLI and VS Code extension.
Ensuring codemods are reviewed and improved by a community of codemod experts.
🌍 Making codemods more accessible to many developers around the world.
- Go
- Java
- Ant Design v5
- Bull to BullMQ
- Ember.js v5
- i18n
- Immutable.js
- Jest to Vitest
- Mocha to Vitest
- MSW v2
- MUI v5
- Netlify SDK v0.8.1
- Netlify SDK v0.8.4
- Netlify SDK v0.8.5
- Next.js i18next
- Next.js v13
- Next.js v14
- React Redux
- React Router v4
- React Router v6
- React
- RedwoodJS v4
All codemods in the registry are automatically distributed to the Codemod CLI and IDE extension.
To run any codemod in the registry, you can:
Codemod Registry is an open-source, community-first, and community-powered project made for developers, by developers.
If you would like to contribute to the Codemod Registry, please follow our contribution guide. Please note that once you create a pull request, you will be asked to sign our Contributor License Agreement.
If you are a codemod builder and/or interested in codemods, please join our community!
If you are not a codemod developer, but you would like to have the community contribute on developing a codemod you’re interested in, then feel free to request a codemod here.
Thanks goes to these wonderful people (emoji key):
Max Leiter 💻 |
Greg Pabian 💻 🐛 📖 |
DmytroHryshyn 💻 🐛 |
Alex Bit 💻 📖 |
Benny Joo 💻 🐛 📖 |
Mohab Sameh 💻 📖 |
Serhii Melnyk 🤔 |
kevtran2 📖 💻 |
George W Langham 🐛 |
Aniello Falcone 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!