codemod v0.10.16
The Codemod platform helps you create, distribute, and deploy 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.
Global installation (recommended)
npm i -g codemod
Usage & Documentation
For details on how to use the Codemod platform, check out our documentation.
Quickstart
List available codemods
The list
command can be used to list all codemods available in the Codemod Registry.
codemod list
Running a codemod
codemod [codemod-name]
Example:
codemod next/13/app-router-recipe
Create codemod with AI
The learn
command can be used to send the diff of the latest edited file to the Codemod Studio and have it automatically build an explainable and debuggable codemod.
codemod learn
After running this command, if any git diff exists, codemod
will use the diff as before/after snippets in the Codemod Studio.
Community
The 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.
Telemetry
We collect anonymous usage data to improve our product. Collected data cannot be linked to individual users. We do not store personal data/code.
For more details and samples of collected data see our telemetry compliance considerations doc.
1 day ago
2 days ago
8 days ago
13 days ago
14 days ago
14 days ago
15 days ago
20 days ago
27 days ago
27 days ago
28 days ago
1 month ago
1 month ago
30 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
7 years ago
7 years ago
7 years ago
7 years ago