Code migrations at lightning speed.

Speed up your code modernization with advanced community-driven code transformation bots—codemods.

Trusted by thousands of developers and companies

Shopify Logo
Vercel logo
Cal.com logo
Netlify logo
Lyft logo
Shopify Logo
Vercel logo
Cal.com logo
Netlify logo
Lyft logo
Shopify Logo
Vercel logo
Cal.com logo
Netlify logo
Lyft logo
Shopify Logo
Vercel logo
Cal.com logo
Netlify logo
Lyft logo
Shopify Logo
Vercel logo
Cal.com logo
Netlify logo
Lyft logo
Shopify Logo
Vercel logo
Cal.com logo
Netlify logo
Lyft logo

Codemods and recipes

Explore 1,000+ of automations in Codemod’s registry.

  • React/Replace React Fc Typescript

    This codemod removes React.FC, React.FunctionComponent and React.SFC and replaces the Props as the type of the unique argument in the component definition. This codemod supports: - Inline defined props. - Generics. - Props defined with intersection. - Component modules defined using intersection. - Regular named functions. - Functions that accept a component definition. - Using FC, FunctionComponent and SFC as a named export.

  • Biome/Migrate Rules

    This codemod replaces configuration files for ESLint with corresponding biome.json for all the found rules. It also replaces Prettier configuration.

  • Next/13/Remove Get Static Props

    The following data fetching methods are no longer available in the app directory: - getStaticPaths, - getServerSideProps, - getStaticProps. The codemod migrates the data fetching functions into the supported in the app directory: - getStaticPaths -> generateStaticParams - getServerSideProps -> getData - getStaticProps -> getData (used in the component) If the getStaticPaths function has only one expression in the return statement, it will be inlined within the nextData function, otherwise it will remain unchanged. When migrating the getServerSideProps functions, the codemod assumes that only the params property of the first argument is used. It additionally adds types for aforementioned params and page props. It will also add the revalidate and dynamicParams route segment properties.

  • Ember/5/Object New Constructor

    new EmberObject() is deprecated in Ember.js v3.9 in favor of constructing instances of EmberObject and its subclasses. This codemod replaces all calls to new EmberObject() with EmberObject.create() and adds a constructor function to classes that extend from EmberObject so that the classes no longer extend from EmberObject.

View all automations
Build

Build reliable codemods with AI.

Go to Codemod Studio with some before/after code examples and let AI create a shareable & reliable codemod for you. Love CLI? So do we. Create a diff, run one command!

codemod learn
Publish

Share codemods with everyone.

Publish your codemods to the Registry and instantly make them accessible to everyone who needs them: the community, your colleagues, or even future self!

codemod publish
Discover

Search for community-led codemods.

Find codemods built by colleagues or the community by running a fuzzy search in the Registry or right in the CLI.

codemod search React
Run

Run codemods with a better experience.

Whether you prefer CLI, IDE extension or web app, you can run or dry-run codemods with a unified and delightful experience.

codemod react/19/remove-memoization-hooks
Scale

Orchestrate large migration campaigns.

Estimate impact before migrating, orchestrate team changes, track progress, and enable autonomous, incremental modernization regardless of team size.

Contact

An end-to-end platform for code migrations at any scale.

Innovate fearlessly, no matter the code size! Automate framework migrations, API upgrades, cleanups, refactors, and more.

Shipping love, faster.

Codemod users save their time and brainpower for shipping exciting new features on cutting-edge stacks.

Netlify Logo

Thanks to Codemod, what would take 10 hours of boring, error-prone work took ~1 hour.

Kaelig Deloumeau-Prigent

Kaelig Deloumeau-Prigent

Principal Engineer at Netlify
Cal.com logo

The automated changes by Codemod feel like black magic here. They do 90% of the work!

Omar Lopez

Omar López

Lead Engineer at Cal.com
Vercel logo

Migrating over small things will take hours to track down & fix up, with Codemod + web Ul can make that be minutes.

Max Leiter

Max Leiter

Software Engineer at Vercel

Join our community of codemod champions & migration experts.

Slack community

Stay in the loop, subscribe to our newsletter.