Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
awesome-codemods
Awesome list of codemods for various languages, libraries and frameworks
https://github.com/rajasegar/awesome-codemods
Last synced: 2 days ago
JSON representation
-
JavaScript
- js-transforms - Some documented codemod experiments to help you learn.
- coffee-to-es2015-codemod - A set of JSCodeshift transforms that will help you transform your CoffeeScript codebase to ES2015.
- 5to6-codemod - A collection of codemods that allow you to transform your js code from ES5 to ES6.
- es5-function-to-class-codemod - Transform ES5 Functions to ES6 Classes.
- webpack-babel-codemod - Convert anonymous webpack commonjs require statements to es2015 import statements.
- undecorate-codemod - Transformers experimental ESNext decorators syntax to simple currying.
- jest-codemods - Codemods for migrating to Jest .
- refactoring-codemods - Refactoring support for JavaScript via jscodeshift codemods.
- sinon-codemod - Codemod scripts that update Sinon APIs .
- codemod-imports-sort - Sort ES6 imports by type.
- JamieMason/codemods - A collection of transforms for use with JSCodeshift.
- eslint-transforms - Codemods for the ESLint ecosystem.
- js-codemods - Some codemod scripts to transform code for good styling.
- class-props-codemod - Transform old-style assigned static properties to class static properties.
- flow-comments-codemod - Convert flowtype syntax to valid JS.
- async-await-codemod - Codemod script for migrating promise-based functions to use async/await syntax.
- sort-class-members-codemod - A codemod for automatically fixing issues reported by eslint-plugin-sort-class-members.
- relative-to-alias - A codemod to do large-scale refactor of your relative path imports to alias.
- transform-imports - Tools that make it easy to codemod imports/requires in your JS.
- expect-js-to-assert - A jscodeshift codemod that transforms from expect.js to Node assert.
- optional-chaining-codemod
- chai-to-assert - A jscodeshift codemod that transforms from chai to Node assert.
- nikgraf/js-codemod - A collection of codemods.
- amd-to-commonjs-codemod - A codemod to transform amd style includes into commonjs includes.
- js-codemod-import-absolute - Codemod to replace relative imports with absolute or custom paths.
- relekang/codemods
- jest-expect-codemod - CodeMods for migrating `chai.assert`, `chai.expect`, `assert` -based test assertions to jest's `expect` assertions.
- vasco3/cuadrante-codemods - Converts ES6 imports to commonJS requires.
- immutablejs-eraser-codemod - A codemod to rescue you from a Immutable.js abuse.
- underscore-to-native - Underscore to native codemods.
- chai-to-jasmine - A chai to jasmine codemod that includes additional transforms for jest migration.
- node-dep-codemod - A collection of JSCodeshift codemod scripts for migrating code that uses deprecated Node.js APIs.
- styletron/codemods - Codemods for styletron.
- rxjs-codemod - Codemod scripts to transform older RxJS code to RxJS5-compatible code.
- cleaner-codemods - Simple codemods to destructure prop types.
- apitsummit-codemods
- dsgkirkby/js-codemods - Wrap switch statements in a code block.
- EDITD/codemods - Radium to Glamour codemod.
- bradencanderson/codemods
- knoopx/codemods
- autobots - Codemods for great good!.
- ce-codemods - Codemods for custom elements.
- bseber/codemods - Codemods for Jasmine refactoring.
- co-to-async - Take the step from co.wrap to async/await automagically.
- DrewML/codemods
- skratchdot-codemods - A collection of utility codemods.
- aws-sdk-js-codemod - Codemod scripts to update AWS SDK for JavaScript APIs.
- codeshift-community - Community-owned global registry and documentation hub for codemods. Write & run codemodes, share them with your friends.
- AMD Transformer - Converts JS into AMDified JS (by Atlassian).
- rm-debugger - Codemod for removing `debugger;`.
- peakon/codemods - I18n Context, Locale, No immutable class codemods.
- strudel-codemod - Strudel codemod scripts.
-
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 `get` functions to ES7 optional member expressions.
- generator2async-codemod
- lebab-as-babel-plugins - Codemod to transform ES5 code to ES6/7 and uses babel plugins.
- idx-to-optional-chaining - JSCodeShift codemod that transforms usage of idx to the draft optional chaining standard.
-
Typescript
- ts-codemod - Typescript based codemods.
- tscodeshift - A tscodeshift is a toolkit for running codemods over multiple TS files.
- flowToTs - Flow to Typescript codemods.
- codemod-cli-ts - CLI for generating codemods written in Typescript.
- tsmod - Refactor TypScript code programmatically using codemods.
- js-to-typescript-codemod - A simple codemod for helping migrate from babel to typescript. Converts default imports to wildcards.
- flowshift - Flow to typescript codemods.
- ts-codemod-scripts - Collection of basic JS/React codemod scripts to prepare for TS on a codebase.
- type-import-codemod - Combine type and value imports using Typescript 4.5 type modifier syntax.
- riceburn - A Typescript, JSON, and text file Code Mod Utility.
-
Ruby
- Ruby AST Explorer - AST Explorer for Ruby.
- codeshift - JSCodeshift equivalent for Ruby.
- cybertron - Codemod CLI to bootstrap Ruby codemods (transforms).
- ruby_crystal_codemod - A codemod / transpiler that can help you convert Ruby into Crystal.
-
Frameworks
-
React.js
- react-codemod - React codemod scripts to update React APIs.
- rackt-codemod - Codemod scripts for Rackt libraries.
- ast-18n - Easily migrate your existing React codebase to use i18n.
- codemod-react-proptypes-to-flow
- proptypes-to-flow - Codemod to tranform react proptypes to flow.
- react-hot-loader-codemod
- mst-codemod-to-0.10 - A codemod to migrate to MobX-State-Tree 0.10 from previous versions.
- babel-plugin-codemod-react-css-modules - Converts React components using imported CSS stylesheets to equivalent CSS Modules syntax.
- metal-to-react - Codemods for migrating metal-jsx to react.
- rn-update-deprecated-modules - Codemod to update import declarations as per react-native > 0.59.x deprecations.
- babel-plugin-hyperscript-to-jsx - This plugin transforms react-hyperscript into JSX. Intended to be used as codemod.
- cjsx-codemod - A codemod for migrating off of coffee-react CJSX.
- over_react_codemod - Codemods to help consumers of over_react automate the migration of UI component code.
- yannvr/codemods - JS/React transforms because life is too short.
- js2tsx - A toolkit provide some codemod scripts based on jscodeshift to migrating react code base to typescript.
- react-native-paper-codemod
- react-codemod-pure-component-to-class - A react codemod to transform stateless/pure/functional components to class components.
- denvned/codemod - Relay Mutation - didResolveProps.
- mukeshsoni/codemods - Adds a data-test-id attribute to all jsx html elements.
- js-react-codemods - A boilerplate of JS 5/6/7 transforms for react/redux/js/etc.
- react-with-hooks-removal-codemod - Remove the react-with-hooks library code when React 16.7.0 is released.
- react-native-fix-inline-styles - Fix inline styles in react native components.
- react-style-px-suffix-codemod - Append px to shorthand values in style objects in react in prep for react 15 warning.
-
Ember.js
- ember-watson - An Ember.js codemod to make upgrades automatic.
- test-selectors-codemod - A codemode for fixing the ember-test-selectors testSelector helper deprecation.
- ember-i18n-to-intl-migrator - Migrate ember-i18n to ember-intl .
- lil-codemods - Ember codemods.
- jmdejno/ember-codemods - Ember code Transforms.
- react-destructuring-assignment-codemod - A WIP jscodeshift codemod to destructure assignments of props, state, and context.
- legacy-tests-codemod - A collection of codemod's for legacy-tests-codemod.
- ember-action-codemods - Codemods for converting uses of action to the {{on}} modifier.
- ember-k-codemod - Removes all usages of Ember.K.
- ember-computed-decorators-codemod - Codemod to update ember-computed-decorators to ember-decorators.
- ember-cli-mirage-faker-codemod
- ember-component-jquery - A codemod for migrating Ember Component code from `this.$()` to `$(this.element)`.
- ember-codemods - Official organization for Ember.js Codemods.
-
Preact.js
- preact-codemod - Shave some bytes by using Preact.
-
Vue.js
- vue-codemods - Collection of codemod scripts that help update and refactor Vue and JavaScript files.
-
Angular.js
- angular-codemods - Codemods for refactoring legacy angular applications.
-
-
Libraries
-
Lodash
- lodash-codemods - Codemods to simplify upgrading Lodash versions.
- lodash-to-lodash-amd-codemods - Lodash to [lodash-amd](https://github.com/lodash/lodash-amd) codemods.
- optional-chaining-codemod - Codemod to migrate from Lodash get and logical and expressions to optional chaining.
- js-transforms - Codemod to replace lodash for lodash/fp.
- modular-lodash-codemod - Makes all your lodash imports modular.
- kevinbarabash/codemods - Lodash/Underscore to native.
-
Mocha
- mocha-to-jest-codemod - Convert Mochan TDD with Chai assert tests to Jest.
- mocha2ava-codemod - A tranformer for migrating tests from Mocha to Ava.
- ts-codemods - Transformers for migrating callback-based Mocha tests to async/await based tests.
-
AVA
- jscodeshift-ava-tester - Codeshift wrapper to write smaller and better tests for your codemods using AVA.
-
Styled Components
- styled-components-codemods - Automatic codemods to upgrade your styled-components code to newer versions.
- styled-components-v3-to-v4-codemod - Codemod to migrate deprecated .extend API in favor of only styled functions.
-
react-router
- react-router-v4-codemods - Codemods for migrating react-router from v3 to v4.
- react-router-v6-codemods - Codemods for migrating react-router from v5 to v6.
- @putout/plugin-react-router - Putout plugin adds ability to migrate to latest version of react router.
-
ant-design
- codemod-v4 - Codemod cli for antd v4 upgrade.
- antd-codemod - Antd codemod scripts.
- codemod-v5 - Codemod cli for antd v5 upgrade.
-
material-ui
- @mui/codemod - A collection of codemod scripts based for use with jscodeshift that help update MUI APIs.
-
-
Organization specific Codemods
-
ant-design
- @freshworks/ember-codemods - A collection of codemods used in Freshworks.
- shopify-codemod - A collection of Codemods written with JSCodeshift that will help update our old, crusty JavaScript to nice, clean JavaScript.
- uber-codemods - Because Code Changes and Evolves.
- artsy/codemods - Various codemods used around Artsy.
- tune-codemods - A collection of codemods we use at tune.
- yapp-codemods - Yapp's codemods.
- civicsource/codemod
- salesforce/lwc-codemod - Codemods for Lightning Web Components.
-
-
Editor Plugins
-
ant-design
- atom-codemod - Atom plugin for running codemods.
- vscodemod - VSCode extension for doing codemod on selected text.
- nmn/atom-codemod - Simple commands to apply specific Babel plugins/codemods on your code.
-
-
Misc
-
ant-design
- ratchet - Codemod to convert React PropTypes to TypeScript types.
- flow-codemod - Jscodeshift-powered [email protected] to [email protected] transformations .
- mithril-codemods
- webpack-codemods - JS Codemod to automatically convert webpack config from v1 to v2.
- js-codemods - Node.js/JavaScript codemods used at @entria.
- jasmine-to-chai-codemod - Codemod for jscodeshift to migrate your tests from Jasmine to Chai syntax.
- closure-codemod - Closure codemod scripts.
- titanium-codemods - Codemod scripts for Titanium Applications.
- next-codemod - Codemod transformations to help upgrade Next.js codebases.
- date-fns-upgrade-codemod - Code mods for upgrading date-fns versions.
- graphql2ts - Transform .graphql to graphql-js typescript.
- gen-codemod - Generate codemods by specifying your starting -> desired JavaScript.
- babel-plugin-localize - Codemod to localize static strings.
- generator-codemod - A generator to create codemods quickly.
- codemodes-tycoon - Codemods from Tycoon.
- pkg-upgrader - Easily build codemod CLIs using jscodeshift. fork of lib-upgrader.
- can-migrate - CLI & codemod scripts for upgrading to CanJS 3, 4 and 5.
- create-codemod-app - Create Codemod App, a codemod generator and runner.
- babel-plugin-glamorous-to-emotion - A codemod to migrate existing React or Preact codebases from glamorous to emotion.
- rxdart_codemod - A collection of codemods to upgrade your RxDart code from one version to the next.
- viewtools/codemods - Helpers to migrate your code to newer versions of Views Tools.
- PHP-Codeshift - A small PHP toolkit for running codemods (code transformations) over multiple PHP files.
- gnome-shell-extension-es6-class-codemod - A jscodeshift transform that helps migrating GNOME Shell extensions to 3.32.
- direct-import-codemod - Use direct imports to save JS bundle size.
- d3-upgrade-codemods - Codemods to upgrade d3 from version 3.x.
- generator-jscodeshif - A yeoman generator for a jscodeshift codemod.
- tds-codemod - TELUS Design System.
- bottender-codemod - Bottender codemod scripts.
- mrm - Codemods for your project config files.
- webdriverio/codemod - A codemod to transform Protractor into WebdriverIO tests.
- strapi/codemods - CLI to help you migrate your Strapi applications & plugins from v3 to v4.
- django-codemod - A tool to automatically fix Django deprecations.
- gsa-codeshift - GSA codemod scripts.
-
-
Awesome Lists
-
ant-design
-
Programming Languages
Categories
Sub Categories
Keywords
codemod
47
jscodeshift
25
javascript
11
react
11
codemods
9
typescript
7
cli
6
ast
5
flow
3
transform
3
babel
3
babel-codemod
3
proptypes
3
babel-plugin
3
mocha
3
jest
3
chai
3
es6
3
react-native
2
ruby
2
parser
2
optional-chaining
2
flowtype
2
codeshift
2
recast
2
async-await
2
async
2
refactoring
2
prop-types
2
import
2
ava
2
react-router
2
antd
2
js
1
gnome-shell-extension
1
gnome-shell
1
sort-jsx
1
sort-objects
1
php
1
automated
1
es2017
1
es8
1
eslint
1
eslint-plugin
1
assert
1
cuadrante-codemods
1
ecmascript
1
es6-modules
1
jasmine
1
jscodeshiift
1