awesome-codemods
github.com/rajasegar/awesome-codemods ↗Awesome list of codemods for various languages, libraries and frameworks
Use this list with your AI agent
Add the Context Awesome MCP server to Claude, Cursor, or any MCP client, then ask:
"Show me angular.js resources from awesome-codemods"
Installation instructions →What's inside
ESNext
- 5to6
A collection of codemods that allow you to transform your js code from ES5 to ES6.
- async-await-codemod
Codemod to add try catch to all the async await statements.
- codemod-get-to-optional-member-expression
Change Lodash
- generator2async-codemod
- idx-to-optional-chaining
JSCodeShift codemod that transforms usage of idx to the draft optional chaining standard.
- lebab-as-babel-plugins
Codemod to transform ES5 code to ES6/7 and uses babel plugins.
JavaScript
- 5to6-codemod
A collection of codemods that allow you to transform your js code from ES5 to ES6.
- amd-to-commonjs-codemod
A codemod to transform amd style includes into commonjs includes.
- AMD Transformer
Converts JS into AMDified JS (by Atlassian).
- apitsummit-codemods
- async-await-codemod
Codemod script for migrating promise-based functions to use async/await syntax.
- autobots
Codemods for great good!.
Frameworks
- angular-codemodsAngular.js
Codemods for refactoring legacy angular applications.
- ast-18nReact.js
Easily migrate your existing React codebase to use i18n.
- babel-plugin-codemod-react-css-modulesReact.js
Converts React components using imported CSS stylesheets to equivalent CSS Modules syntax.
- babel-plugin-hyperscript-to-jsxReact.js
This plugin transforms react-hyperscript into JSX. Intended to be used as codemod.
- cjsx-codemodReact.js
A codemod for migrating off of coffee-react CJSX.
- codemod-react-proptypes-to-flowReact.js
Libraries
- antd-codemodant-design
Antd codemod scripts.
- codemod-v4ant-design
Codemod cli for antd v4 upgrade.
- codemod-v5ant-design
Codemod cli for antd v5 upgrade.
- jscodeshift-ava-testerAVA
Codeshift wrapper to write smaller and better tests for your codemods using AVA.
- js-transformsLodash
Codemod to replace lodash for lodash/fp.
- kevinbarabash/codemodsLodash
Lodash/Underscore to native.
Organization specific Codemods
- artsy/codemods
Various codemods used around Artsy.
- civicsource/codemod
- @freshworks/ember-codemods
A collection of codemods used in Freshworks.
- salesforce/lwc-codemod
Codemods for Lightning Web Components.
- shopify-codemod
A collection of Codemods written with JSCodeshift that will help update our old, crusty JavaScript to nice, clean JavaScript.
- tune-codemods
A collection of codemods we use at tune.
Editor Plugins
- atom-codemod
Atom plugin for running codemods.
- nmn/atom-codemod
Simple commands to apply specific Babel plugins/codemods on your code.
- vscodemod
VSCode extension for doing codemod on selected text.
Awesome Lists
Misc
- babel-plugin-glamorous-to-emotion
A codemod to migrate existing React or Preact codebases from glamorous to emotion.
- babel-plugin-localize
Codemod to localize static strings.
- bottender-codemod
Bottender codemod scripts.
- can-migrate
CLI & codemod scripts for upgrading to CanJS 3, 4 and 5.
- closure-codemod
Closure codemod scripts.
- codemodes-tycoon
Codemods from Tycoon.
Showing a sample of 177 resources. View the full list on GitHub →