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.
## 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)):