codemod-com / codemod

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, and the community. AI-powered and CLI-first.
https://go.codemod.com/docs
Apache License 2.0
417 stars 35 forks source link
ast-grep cleanup codemod jscodeshift migration refactoring ts-morph upgrade

Codemod Registry Header


Registry · Community · Docs

## 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](https://go.codemod.com/docs). ## 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](https://go.codemod.com/package-structure) local codemod package to [Codemod Registry](https://codemod.com/registry) with: ``` codemod publish ``` ### 3. Run codemods ``` codemod [codemod name] ``` ## Community Codemod community can be found on [Slack](https://codemod.com/community), where you can ask questions, share your feedback, and contribute to the community. Our [Code of Conduct](/CODE_OF_CONDUCT.md) applies to all Codemod community channels. ## Contributing To contribute to Codemod platform, please refer to the [contributing guide](/CONTRIBUTING.md). ### Contributors ✨ ![Alt](https://repobeats.axiom.co/api/embed/a601b01213da7b870268b1fe2ee8384efc40c308.svg "Repobeats analytics image") Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Max Leiter
Max Leiter

💻
Greg Pabian
Greg Pabian

💻 🐛 📖
DmytroHryshyn
DmytroHryshyn

💻 🐛
Alex Bit
Alex Bit

💻 📖
Benny Joo
Benny Joo

💻 🐛 📖
Mohab Sameh
Mohab Sameh

💻 📖
Serhii Melnyk
Serhii Melnyk

🤔
kevtran2
kevtran2

📖 💻
George W Langham
George W Langham

🐛
Aniello Falcone
Aniello Falcone

🐛
Sasha
Sasha

💻 🐛
Harsh Gupta
Harsh Gupta

💻
Mohamad Mohebifar
Mohamad Mohebifar

💻 🐛
Mikhail Demidoff
Mikhail Demidoff

💻
Nuurek
Nuurek

💻 🐛
Norayr Baghdasarov
Norayr Baghdasarov

💻 🐛
Grzegorz
Grzegorz

🐛 💻
Aleksy
Aleksy

💻 🐛
Espen Bye
Espen Bye

🐛
Jake Riordan
Jake Riordan

💻 🐛
Jonathan Giardino
Jonathan Giardino

💻 🐛
Mohamed Amine Diboune
Mohamed Amine Diboune

💻
Seif Ghezala
Seif Ghezala

💻
Ahmad Soliman
Ahmad Soliman

💻
Maciej Lotkowski
Maciej Lotkowski

🐛
Jahred Hope
Jahred Hope

💻
arshcodemod
arshcodemod

📖 📢
Jay Kumar
Jay Kumar

💻
Shinya Fujino
Shinya Fujino

📖 💻 🐛
coderaiser
coderaiser

💻
Zach Wolf
Zach Wolf

🐛
with-heart
with-heart

🐛 📖 🤔
Manish Jha
Manish Jha

🐛 💻
Henry Q. Dineen
Henry Q. Dineen

💻 🐛
Matthias
Matthias

🐛
Pardis Pashakhanloo
Pardis Pashakhanloo

💻 📝 🔣
Mohammad Bagher Abiyat
Mohammad Bagher Abiyat

🚇
Yugal Agarwal
Yugal Agarwal

💻
Sameer Poswal
Sameer Poswal

💻
Michael Stramel
Michael Stramel

📖
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!