An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: codemod

ast-grep/ast-grep

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

Language: Rust - Size: 6.85 MB - Last synced at: about 2 hours ago - Pushed at: about 2 hours ago - Stars: 8,628 - Forks: 218

FirmScythe/Config-Files

This repository contains my personal configuration files for various development tools that I use daily to create a powerful and efficient development workflow.

Language: Lua - Size: 27.3 KB - Last synced at: 2 days ago - Pushed at: 2 days ago - Stars: 0 - Forks: 0

getgrit/gritql

GritQL is a query language for searching, linting, and modifying code.

Language: Rust - Size: 54.2 MB - Last synced at: 1 day ago - Pushed at: 26 days ago - Stars: 3,753 - Forks: 96

airbnb/ts-migrate

A tool to help migrate JavaScript code quickly and conveniently to TypeScript

Language: TypeScript - Size: 910 KB - Last synced at: 2 days ago - Pushed at: 9 months ago - Stars: 5,549 - Forks: 227

codemod-com/codemod

The end-to-end platform for creating, sharing, and running codemods with engines like jscodeshift, ast-grep, ts-morph, and more. Automate code migrations, cleanups, and refactors for you, your team, and the community. AI-powered and CLI-first.

Language: TypeScript - Size: 211 MB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 652 - Forks: 48

mondaycom/vibe

🎨 Official monday.com UI resources for application development in React.js

Language: TypeScript - Size: 125 MB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 494 - Forks: 330

coderaiser/putout

🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement 💪 with built-in support for js, jsx, typescript, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏

Language: JavaScript - Size: 20.2 MB - Last synced at: 2 days ago - Pushed at: 3 days ago - Stars: 745 - Forks: 41

JamieMason/eslint-plugin-prefer-arrow-functions

Auto-fix plain Functions into Arrow Functions, in all cases where conversion would result in the same behaviour

Language: TypeScript - Size: 549 KB - Last synced at: 2 days ago - Pushed at: 4 months ago - Stars: 63 - Forks: 14

ijlee2/ember-codemod-sort-invocations

Codemod to sort invocations in templates

Language: TypeScript - Size: 114 KB - Last synced at: 4 days ago - Pushed at: 5 days ago - Stars: 0 - Forks: 0

codemodsquad/astx

Super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring

Language: TypeScript - Size: 2.75 MB - Last synced at: about 5 hours ago - Pushed at: 2 months ago - Stars: 117 - Forks: 6

shiyangzhaoa/css-modules-to-tailwind

Tailwind css convert tool

Language: TypeScript - Size: 438 KB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 33 - Forks: 6

developer-bandi/codemod-kit

A tool that makes large-scale refactoring easier and safer.

Language: TypeScript - Size: 583 KB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 0 - Forks: 0

browniebroke/django-codemod

A tool to automatically fix Django deprecations.

Language: Python - Size: 1.96 MB - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 184 - Forks: 17

shixianqin/fast-codemod

An easy-to-use codemod toolkit for code migration - powered by Babel and Recast, with format-preserving output.

Language: TypeScript - Size: 1000 Bytes - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 0 - Forks: 0

sibelius/ast-i18n

Easily migrate your existing React codebase to use i18n

Language: TypeScript - Size: 393 KB - Last synced at: 6 days ago - Pushed at: 11 months ago - Stars: 224 - Forks: 18

chimurai/jscodeshift-typescript-example

jscodeshift typescript codemod example

Size: 7.07 MB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 80 - Forks: 9

ijlee2/blueprints-v2-addon-output

Reference repo for updating blueprints-v2-addon (created by create-v2-addon-repo)

Language: TypeScript - Size: 105 KB - Last synced at: 6 days ago - Pushed at: 9 days ago - Stars: 0 - Forks: 0

ijlee2/embroider-toolbox

Tools and conventions for introducing Embroider

Language: TypeScript - Size: 714 KB - Last synced at: 6 days ago - Pushed at: 9 days ago - Stars: 4 - Forks: 0

ijlee2/codemod-utils

Utilities for writing codemods

Language: TypeScript - Size: 963 KB - Last synced at: 8 days ago - Pushed at: 10 days ago - Stars: 21 - Forks: 4

boidolr/ast-grep-pre-commit

ast-grep integration for pre-commit hooks

Size: 57.6 KB - Last synced at: 10 days ago - Pushed at: 10 days ago - Stars: 3 - Forks: 0

bennycode/ts2esm

Transforms CommonJS projects into ESM.

Language: TypeScript - Size: 699 KB - Last synced at: 10 days ago - Pushed at: 10 days ago - Stars: 71 - Forks: 3

rajasegar/awesome-codemods

Awesome list of codemods for various languages, libraries and frameworks

Size: 111 KB - Last synced at: 6 days ago - Pushed at: about 1 year ago - Stars: 212 - Forks: 7

stripe-archive/flow-to-typescript-codemod

Codemod Stripe used to migrate 6.5m+ lines of code from Flow to TypeScript

Language: TypeScript - Size: 173 KB - Last synced at: 11 days ago - Pushed at: 29 days ago - Stars: 685 - Forks: 69

JonathanXDR/TypeORM-To-Prisma-Codemod

A comprehensive codemod for automatically migrating NestJS applications from TypeORM to Prisma.

Language: JavaScript - Size: 16.6 KB - Last synced at: 6 days ago - Pushed at: 23 days ago - Stars: 1 - Forks: 0

BartoszJarocki/jscodeshift-react-i18next

jscodeshift transform that aims to extract hardocded strings in React applications

Language: TypeScript - Size: 43.9 KB - Last synced at: 8 days ago - Pushed at: 3 months ago - Stars: 9 - Forks: 1

hypermod-io/hypermod-community

Community-owned global registry and documentation hub for codemods. Write & run codemods, share them with your friends!

Language: TypeScript - Size: 11.4 MB - Last synced at: 9 days ago - Pushed at: 24 days ago - Stars: 139 - Forks: 19

nathro/AutoTransform

AutoTransform is a framework for large-scale, automated code modification in a production environment.

Language: Python - Size: 5.18 MB - Last synced at: 6 days ago - Pushed at: 3 months ago - Stars: 58 - Forks: 7

codemodsquad/asyncify

Don't keep your promises 😉

Language: TypeScript - Size: 1.06 MB - Last synced at: about 18 hours ago - Pushed at: over 2 years ago - Stars: 14 - Forks: 6

codemod-js/codemod

codemod rewrites JavaScript and TypeScript using babel plugins.

Language: TypeScript - Size: 5.24 MB - Last synced at: 9 days ago - Pushed at: 10 months ago - Stars: 429 - Forks: 18

sapegin/mrm

Codemods for your project config files

Language: JavaScript - Size: 6.13 MB - Last synced at: 1 day ago - Pushed at: 6 months ago - Stars: 1,635 - Forks: 79

skovhus/jest-codemods

Codemods for migrating to Jest https://github.com/facebook/jest 👾

Language: TypeScript - Size: 2.31 MB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 884 - Forks: 82

JackHowa/ember-react-cheatsheet

See documentation on how to migrate from Ember to React

Language: JavaScript - Size: 2.55 MB - Last synced at: 23 days ago - Pushed at: 23 days ago - Stars: 0 - Forks: 0

sharecjs/sharec

📦 Store your configs in one place and manage across projects easily

Language: JavaScript - Size: 8.18 MB - Last synced at: 21 days ago - Pushed at: over 1 year ago - Stars: 254 - Forks: 8

Blazity/styled2tailwind

🌀 Transform your Styled-Components into TailwindCSS with this handy codemod.

Language: TypeScript - Size: 1.67 MB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 210 - Forks: 10

antfu/eslint-plugin-command

Comment-as-command for one-off codemod with ESLint.

Language: TypeScript - Size: 980 KB - Last synced at: 27 days ago - Pushed at: about 2 months ago - Stars: 248 - Forks: 14

pydantic/bump-pydantic

Convert Pydantic from V1 to V2 ♻

Language: Python - Size: 151 KB - Last synced at: about 1 month ago - Pushed at: 10 months ago - Stars: 333 - Forks: 28

ant-design/codemod-v4

codemod cli for antd v4 upgrade

Language: JavaScript - Size: 161 KB - Last synced at: 7 days ago - Pushed at: over 2 years ago - Stars: 99 - Forks: 26

RIP21/import-move-codemod

Codemod that helps with moving selectively imports from one package to another. Super useful in monorepos or just bulk refactorings of some 3rd party dependencies.

Language: TypeScript - Size: 1.45 MB - Last synced at: 27 days ago - Pushed at: over 2 years ago - Stars: 11 - Forks: 0

zokugun/artifact

Boilerplate your project & keep your configurations up to date

Language: TypeScript - Size: 993 KB - Last synced at: 26 days ago - Pushed at: about 2 months ago - Stars: 1 - Forks: 0

JamieMason/codemods

A collection of transforms for use with JSCodeshift

Language: JavaScript - Size: 372 KB - Last synced at: 10 days ago - Pushed at: about 2 months ago - Stars: 64 - Forks: 8

j4k0xb/krunkscript-pwn

Extract/deobfuscate/hook/inject maps with KrunkScript enabled

Language: TypeScript - Size: 159 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 5 - Forks: 4

woovibr/codemods

Node.js/Javascript codemods used at @entria

Language: TypeScript - Size: 1.25 MB - Last synced at: 6 days ago - Pushed at: over 1 year ago - Stars: 43 - Forks: 3

sjy/js2tsx

A toolkit provide some codemod scripts based on jscodeshift to migrating react code base to typesceipt

Language: JavaScript - Size: 39.1 KB - Last synced at: 18 days ago - Pushed at: about 7 years ago - Stars: 17 - Forks: 1

bluedaniel/js-codemod-import-absolute

:art: Codemod to replace relative imports with absolute or custom paths

Language: JavaScript - Size: 55.7 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 9 - Forks: 2

hamidyfine/ts-codemod

codemod tool to helps developers migrate JavaScript code to TypeScript by automatically updating syntax, adding type annotations, and updating imports.

Language: JavaScript - Size: 177 KB - Last synced at: 10 days ago - Pushed at: about 2 years ago - Stars: 6 - Forks: 0

unlight/jscodeshiftor

Practicing writing codemods

Language: TypeScript - Size: 57.6 KB - Last synced at: about 1 month ago - Pushed at: 4 months ago - Stars: 2 - Forks: 0

ijlee2/ember-codemod-v1-to-v2

Codemod to convert Ember addons to v2 addon format

Language: TypeScript - Size: 1.22 MB - Last synced at: 6 days ago - Pushed at: about 2 months ago - Stars: 24 - Forks: 1

ijlee2/ember-codemod-rename-test-modules

Main tutorial for @codemod-utils

Language: TypeScript - Size: 478 KB - Last synced at: 6 days ago - Pushed at: about 2 months ago - Stars: 0 - Forks: 0

ijlee2/ember-codemod-remove-inject-as-service

Codemod to remove `inject as service`

Language: TypeScript - Size: 188 KB - Last synced at: 6 days ago - Pushed at: about 2 months ago - Stars: 3 - Forks: 0

ijlee2/ember-codemod-pod-to-octane

Codemod to un-pod Ember apps, addons, and engines

Language: TypeScript - Size: 873 KB - Last synced at: 6 days ago - Pushed at: about 2 months ago - Stars: 17 - Forks: 3

ijlee2/ember-codemod-args-to-signature

Codemod to convert component Args to Signature

Language: TypeScript - Size: 596 KB - Last synced at: 6 days ago - Pushed at: about 2 months ago - Stars: 14 - Forks: 0

Sidnioulz/vue-sfcmod

Vue 3 codemod framework for SFC scripts and templates

Language: TypeScript - Size: 1.6 MB - Last synced at: 7 days ago - Pushed at: 12 days ago - Stars: 13 - Forks: 0

JamieMason/ts-import-types-cli

Autofix TypeScript types to be imported using `import type`

Language: TypeScript - Size: 22.5 KB - Last synced at: 3 days ago - Pushed at: almost 2 years ago - Stars: 41 - Forks: 3

moo-w/eslint-plugin-snippet

Comment-as-snippet for one-off codemod with ESLint

Language: TypeScript - Size: 202 KB - Last synced at: 17 days ago - Pushed at: about 2 months ago - Stars: 3 - Forks: 0

p42ai/js-assistant

120+ refactorings and code-assists for Visual Studio Code

Language: TypeScript - Size: 54.2 MB - Last synced at: about 1 month ago - Pushed at: about 2 years ago - Stars: 130 - Forks: 8

jrestall/react-router-codemods

Codemods to help upgrade Remix to React Router v7

Language: TypeScript - Size: 164 KB - Last synced at: 4 days ago - Pushed at: 2 months ago - Stars: 9 - Forks: 1

wantedly/react-declassify

say goodbye to class components

Language: TypeScript - Size: 1.77 MB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 95 - Forks: 2

azu/commonjs-to-es-module-codemod

Codemod that convert CommonJS(require/exports) to ES Modules(import/export) for JavaScript/TypeScript

Language: JavaScript - Size: 260 KB - Last synced at: 4 days ago - Pushed at: about 2 years ago - Stars: 87 - Forks: 15

origami-z/salt-codemod

Codemod to help upgrade @salt-ds/* packages

Language: JavaScript - Size: 192 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

remarkablemark/rector-laravel-service-mocking

🐘 Rector Laravel service mocking

Language: PHP - Size: 137 KB - Last synced at: 8 days ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0

dhruvdutt/es5-function-to-class-codemod

:package: Transform ES5 Functions to ES6 Classes

Language: JavaScript - Size: 12.7 KB - Last synced at: about 1 month ago - Pushed at: almost 6 years ago - Stars: 33 - Forks: 5

Subsecond-LLC/Subsecond

A jQuery-like syntax for typescript codemod.

Language: TypeScript - Size: 43.9 KB - Last synced at: 26 days ago - Pushed at: about 2 years ago - Stars: 20 - Forks: 0

JamieMason/astexplorer.app

An https://astexplorer.net wrapper which adds module bundling and hot reloading.

Language: TypeScript - Size: 79.1 MB - Last synced at: 27 days ago - Pushed at: about 2 years ago - Stars: 121 - Forks: 11

ant-design/codemod-v5

codemod cli for antd v5 upgrade

Language: JavaScript - Size: 189 KB - Last synced at: 21 days ago - Pushed at: about 2 years ago - Stars: 18 - Forks: 8

benelan/calcite-codemod

Code modification tool for automatically updating applications after breaking changes to Calcite Design System packages

Language: JavaScript - Size: 71.3 KB - Last synced at: 3 days ago - Pushed at: 3 months ago - Stars: 2 - Forks: 0

vpukhanov/cascade

CLI tool that applies a patch or a script across multiple Git repositories

Language: Go - Size: 31.3 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 1 - Forks: 0

langston-barrett/mogglo

Multi-language AST-based code search and rewriting tool that supports embedding Lua code in patterns

Language: Rust - Size: 1.25 MB - Last synced at: 26 days ago - Pushed at: 10 months ago - Stars: 30 - Forks: 1

untitaker/spacemod

An easy to understand and powerful text search-and-replace tool

Language: Rust - Size: 145 KB - Last synced at: about 12 hours ago - Pushed at: 3 months ago - Stars: 45 - Forks: 2

ember-codemods/ember-3x-codemods

A Codemod with a collection of transforms to address Ember 3.x deprecations

Language: JavaScript - Size: 588 KB - Last synced at: 10 days ago - Pushed at: over 1 year ago - Stars: 17 - Forks: 8

villesau/nexus-to-pothos-codemod

Transforms Nexus code to Pothos

Language: TypeScript - Size: 174 KB - Last synced at: 1 day ago - Pushed at: over 2 years ago - Stars: 22 - Forks: 0

kentcdodds/asts-workshop

Improved productivity 💯 with the practical 🤓 use of the power 💪 of Abstract Syntax Trees 🌳 to lint ⚠️ and transform 🔀 your code

Language: JavaScript - Size: 1.21 MB - Last synced at: about 1 month ago - Pushed at: over 4 years ago - Stars: 302 - Forks: 82

duolingo/pulldozer

CLI tool for batch editing multiple repos :tractor:

Language: Shell - Size: 200 KB - Last synced at: about 1 month ago - Pushed at: 5 months ago - Stars: 52 - Forks: 5

jelmer/awesome-codemods

Curated list of tools that can fix your code for you

Size: 13.7 KB - Last synced at: 3 days ago - Pushed at: 10 months ago - Stars: 24 - Forks: 5

ember-codemods/ember-native-class-codemod

A codemod-cli project for converting Ember objects to es6 native classes

Language: TypeScript - Size: 2.74 MB - Last synced at: 8 days ago - Pushed at: about 1 year ago - Stars: 69 - Forks: 38

thorough-dev/mrm-tasks

Tasks for MRM to aid in setting up software projects.

Language: JavaScript - Size: 103 KB - Last synced at: 1 day ago - Pushed at: 4 months ago - Stars: 1 - Forks: 0

apptools-lab/AppLint

淘宝前端工程最佳实践检查方案

Language: TypeScript - Size: 440 KB - Last synced at: 6 days ago - Pushed at: about 2 years ago - Stars: 62 - Forks: 12

rajasegar/codeshift

A Ruby CLI to transform source code using ASTs - A Ruby Codemod

Language: Ruby - Size: 41 KB - Last synced at: 18 days ago - Pushed at: about 2 years ago - Stars: 48 - Forks: 4

r17x/jasat

Codemod for JavaScript Stuff (Jasat is shortname)

Language: JavaScript - Size: 1.34 MB - Last synced at: 4 days ago - Pushed at: about 3 years ago - Stars: 4 - Forks: 0

rajasegar/moment-dayjs-codemod

A Codemod to migrate from moment.js to day.js

Language: JavaScript - Size: 196 KB - Last synced at: 10 days ago - Pushed at: almost 4 years ago - Stars: 34 - Forks: 1

vercel/next-codemod 📦

codemod transformations to help upgrade Next.js codebases

Language: JavaScript - Size: 588 KB - Last synced at: 6 days ago - Pushed at: over 4 years ago - Stars: 66 - Forks: 3

skovy/css-codemod

🐍 Toolkit for running codemods over CSS files

Language: TypeScript - Size: 1.1 MB - Last synced at: 25 days ago - Pushed at: over 3 years ago - Stars: 14 - Forks: 0

SyMind/react-router-dom-5-to-6

codemod cli for react-router-dom v6 direct upgrade, not progressive ⚒️

Language: JavaScript - Size: 151 KB - Last synced at: 16 days ago - Pushed at: almost 2 years ago - Stars: 13 - Forks: 0

Atanamo/PHP-Codeshift

A small PHP toolkit for running codemods (code transformations) over multiple PHP files.

Language: PHP - Size: 43.9 KB - Last synced at: 26 days ago - Pushed at: over 2 years ago - Stars: 31 - Forks: 1

voxpelli/linemod

Comment driven line modifications

Language: JavaScript - Size: 48.8 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 3 - Forks: 0

KubaJastrz/typesafe-remix-codemod 📦

very wip

Language: Rust - Size: 400 KB - Last synced at: 5 days ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

rajasegar/jarvis

JARVIS - Write me a codemod

Language: JavaScript - Size: 19.3 MB - Last synced at: 27 days ago - Pushed at: about 1 month ago - Stars: 18 - Forks: 2

rajasegar/react-router-v4-codemods

Codemods for migrating react-router to v4

Language: JavaScript - Size: 217 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 3 - Forks: 0

codemod-com/codemod-registry 📦

A registry of community-led codemods & code automation recipes for popular refactors, migrations, and dependency upgrades.

Language: TypeScript - Size: 2.18 MB - Last synced at: 5 months ago - Pushed at: about 1 year ago - Stars: 34 - Forks: 1

rajasegar/ruby-ast-explorer

AST Explorer for ruby

Language: JavaScript - Size: 2.77 MB - Last synced at: 4 days ago - Pushed at: about 2 years ago - Stars: 16 - Forks: 5

Peter554/codemodpydanticv1

Upgrade Pydantic to V2, but use V1 API

Language: Python - Size: 31.3 KB - Last synced at: 18 days ago - Pushed at: over 1 year ago - Stars: 3 - Forks: 0

mskelton/ratchet

Codemod to convert React PropTypes to TypeScript types.

Language: TypeScript - Size: 7.73 MB - Last synced at: 7 months ago - Pushed at: about 1 year ago - Stars: 135 - Forks: 13

SyMind/taro2-to-3

让 Taro2 项目自动升级到 Taro3 项目 ⚒️

Language: JavaScript - Size: 368 KB - Last synced at: 21 days ago - Pushed at: 8 months ago - Stars: 43 - Forks: 11

sachinraja/trpc-v10-migrate-codemod

codemod to migrate your tRPC codebase from v9 to v10

Language: TypeScript - Size: 140 KB - Last synced at: 13 days ago - Pushed at: 13 days ago - Stars: 69 - Forks: 3

pixee/simple-gradle-codemod-tutorial

An example codemodder codemod

Language: Java - Size: 172 KB - Last synced at: 15 days ago - Pushed at: 15 days ago - Stars: 10 - Forks: 6

rajasegar/cybertron

Cybertron is where Ruby Transformers are born!

Language: Ruby - Size: 32.2 KB - Last synced at: 25 days ago - Pushed at: about 2 years ago - Stars: 6 - Forks: 1

avajs/ava-codemods 📦

Codemods for AVA

Language: JavaScript - Size: 408 KB - Last synced at: 5 days ago - Pushed at: over 6 years ago - Stars: 68 - Forks: 16

sgilroy/async-await-codemod

Codemod script for migrating promise-based functions to use async/await syntax

Language: JavaScript - Size: 1.04 MB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 29 - Forks: 4

IgnaceMaes/ember-codemod-template-tag

Codemod to convert Glimmer components to the <template> tag authoring format in .gjs and .gts

Language: TypeScript - Size: 129 KB - Last synced at: 2 days ago - Pushed at: 10 months ago - Stars: 4 - Forks: 1

Sage/carbon-codemod

A collection of codemods to help you upgrade carbon-react

Language: JavaScript - Size: 1.9 MB - Last synced at: about 2 months ago - Pushed at: almost 2 years ago - Stars: 2 - Forks: 0

yangshun/js-codemods

Some codemod scripts to transform code for good styling

Language: JavaScript - Size: 7.81 KB - Last synced at: 5 days ago - Pushed at: about 8 years ago - Stars: 6 - Forks: 4