https://github.com/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://github.com/codemod-com/codemod
ast-grep cleanup codemod jscodeshift migration refactoring ts-morph upgrade
Last synced: 12 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/codemod-com/codemod
- Owner: codemod-com
- License: apache-2.0
- Created: 2024-01-26T11:30:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-07T16:24:33.000Z (12 months ago)
- Last Synced: 2025-05-07T17:22:03.735Z (12 months ago)
- Topics: ast-grep, cleanup, codemod, jscodeshift, migration, refactoring, ts-morph, upgrade
- Language: TypeScript
- Homepage: https://go.codemod.com/docs
- Size: 211 MB
- Stars: 652
- Watchers: 1
- Forks: 48
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
## 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 โจ

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Max Leiter
๐ป

Greg Pabian
๐ป ๐ ๐

DmytroHryshyn
๐ป ๐

Alex Bit
๐ป ๐

Benny Joo
๐ป ๐ ๐

Mohab Sameh
๐ป ๐

Serhii Melnyk
๐ค

kevtran2
๐ ๐ป

George W Langham
๐

Aniello Falcone
๐

Sasha
๐ป ๐

Harsh Gupta
๐ป

Mohamad Mohebifar
๐ป ๐

Mikhail Demidoff
๐ป

Nuurek
๐ป ๐

Norayr Baghdasarov
๐ป ๐

Grzegorz
๐ ๐ป

Aleksy
๐ป ๐

Espen Bye
๐

Jake Riordan
๐ป ๐

Jonathan Giardino
๐ป ๐

Mohamed Amine Diboune
๐ป

Seif Ghezala
๐ป

Ahmad Soliman
๐ป

Maciej Lotkowski
๐

Jahred Hope
๐ป

arshcodemod
๐ ๐ข

Jay Kumar
๐ป

Shinya Fujino
๐ ๐ป ๐

coderaiser
๐ป

Zach Wolf
๐

with-heart
๐ ๐ ๐ค

Manish Jha
๐ ๐ป

Henry Q. Dineen
๐ป ๐

Matthias
๐

Pardis Pashakhanloo
๐ป ๐ ๐ฃ

Mohammad Bagher Abiyat
๐

Yugal Agarwal
๐ป

Sameer Poswal
๐ป ๐

Michael Stramel
๐

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