Framework, library, and SDK builders use codemods to move users to new releases without carrying long-term backward compatibility. Building and maintaining codemods is hard. It does not scale well, adoption is hard to measure, and feedback is limited. Codemod gives maintainers an easy way to publish official codemods with each release, accept community contributions, and see how codemods are actually used. Codemod is already used by projects like React, Node.js, ESLint, Express, Nuxt, and many more.Documentation Index
Fetch the complete documentation index at: https://docs.codemod.com/llms.txt
Use this file to discover all available pages before exploring further.
Get started
Create a dedicated repo to host your codemods
Scaffold a dedicated repository under your project’s GitHub organization to host official codemods:The generated layout:
- keeps shared publishing and repo configuration at the root
- isolates each codemod under
codemods/<slug>/ - keeps migration logic separate from product code
- gives maintainers a dedicated repo for collaboration and releases under the project scope
Secure your official scope
- Create a free Codemod account and sign in.
- Add your GitHub organization.
- Install the Codemod GitHub App on your codemod repo.
Build and publish codemods
At this point, your repo is fully set up for collaboration and publishing.
- You or your community can open PRs to add or improve codemods.
- Once merged, you can use the GitHub Action to publish the codemod to the registry under your org scope. Make sure codemod names start with your scope (
@your-github-org-name/codemod-name, for example@eslint/v8-to-v9-config).
Getting help
Join the community
Ask questions, get help, and connect with other framework maintainers on Slack.
Book a call
Schedule a demo or get hands-on help from the Codemod team.
Next steps
CLI
Learn more about Codemod CLI.
Workflows
Orchestrate complex multi-step migrations.
JSSG
Learn the transformation engine in depth.
Publishing
Authentication methods and CI/CD setup.