codemod

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.

Stars: 392

Visit
 screenshot

Codemod platform is a tool that helps developers create, distribute, and run codemods in codebases of any size. The AI-powered, community-led codemods enable automation of framework upgrades, large refactoring, and boilerplate programming with speed and developer experience. It aims to make dream migrations a reality for developers by providing a platform for seamless codemod operations.

README:

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.

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.

Contributors โœจ

Alt

Thanks goes to these wonderful people (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

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for codemod

Similar Open Source Tools

For similar tasks

For similar jobs