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

Topic: "codemod"

ast-grep/ast-grep

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

Language: Rust - Size: 7.09 MB - Last synced at: about 18 hours ago - Pushed at: about 19 hours ago - Stars: 8,684 - Forks: 220

airbnb/ts-migrate

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

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

honeycombio/gritql

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

Language: Rust - Size: 59.5 MB - Last synced at: about 9 hours ago - Pushed at: about 10 hours ago - Stars: 3,790 - Forks: 96

sapegin/mrm

Codemods for your project config files

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

skovhus/jest-codemods

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

Language: TypeScript - Size: 2.38 MB - Last synced at: 6 days ago - Pushed at: 9 days ago - Stars: 884 - Forks: 82

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: 19.8 MB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 749 - Forks: 41

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: 20 days ago - Pushed at: about 1 month ago - Stars: 685 - Forks: 69

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: 6 days ago - Pushed at: 11 days ago - Stars: 657 - Forks: 49

mondaycom/vibe

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

Language: TypeScript - Size: 126 MB - Last synced at: 6 days ago - Pushed at: 7 days ago - Stars: 496 - Forks: 331

codemod-js/codemod

codemod rewrites JavaScript and TypeScript using babel plugins.

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

pydantic/bump-pydantic

Convert Pydantic from V1 to V2 ♻

Language: Python - Size: 151 KB - Last synced at: 4 days ago - Pushed at: 10 months ago - Stars: 337 - Forks: 27

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 hour ago - Pushed at: over 4 years ago - Stars: 302 - Forks: 82

antfu/eslint-plugin-command

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

Language: TypeScript - Size: 980 KB - Last synced at: 5 days ago - Pushed at: 2 months ago - Stars: 254 - Forks: 14

sharecjs/sharec

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

Language: JavaScript - Size: 8.18 MB - Last synced at: about 13 hours ago - Pushed at: over 1 year ago - Stars: 254 - Forks: 8

sibelius/ast-i18n

Easily migrate your existing React codebase to use i18n

Language: TypeScript - Size: 393 KB - Last synced at: about 10 hours ago - Pushed at: 11 months ago - Stars: 224 - Forks: 18

Blazity/styled2tailwind

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

Language: TypeScript - Size: 1.67 MB - Last synced at: 4 days ago - Pushed at: 6 days ago - Stars: 213 - Forks: 10

rajasegar/awesome-codemods

Awesome list of codemods for various languages, libraries and frameworks

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

browniebroke/django-codemod

A tool to automatically fix Django deprecations.

Language: Python - Size: 1.99 MB - Last synced at: about 11 hours ago - Pushed at: about 12 hours ago - Stars: 184 - Forks: 17

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: 7 days ago - Pushed at: about 1 month ago - Stars: 139 - Forks: 19

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

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

JamieMason/astexplorer.app

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

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

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: 10 days ago - Pushed at: 3 months ago - Stars: 117 - Forks: 6

villesau/optional-chaining-codemod

Codemod to migrate from Lodash get and logical and expressions to optional chaining

Language: JavaScript - Size: 445 KB - Last synced at: 1 day ago - Pushed at: about 2 years ago - Stars: 112 - Forks: 13

sibs-projects/codemod-RN24-to-RN25 📦

A simple codemod to handle the new import style on RN25

Language: JavaScript - Size: 19.5 KB - Last synced at: 4 minutes ago - Pushed at: about 8 years ago - Stars: 103 - Forks: 12

ant-design/codemod-v4

codemod cli for antd v4 upgrade

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

wantedly/react-declassify

say goodbye to class components

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

magicmark/tiny-treeshaker

🌳🥤 A tiny codemod for tree shaking (experimental) 🌳🥤

Language: JavaScript - Size: 64.5 KB - Last synced at: about 1 month ago - Pushed at: almost 4 years ago - Stars: 94 - Forks: 1

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: 13 days ago - Pushed at: about 2 years ago - Stars: 87 - Forks: 15

chimurai/jscodeshift-typescript-example

jscodeshift typescript codemod example

Size: 7.04 MB - Last synced at: about 11 hours ago - Pushed at: 1 day ago - Stars: 81 - Forks: 9

lucasbento/rn-update-deprecated-modules

Codemod to update import declarations as per react-native > 0.59.x deprecations.

Language: JavaScript - Size: 1.19 MB - Last synced at: 26 days ago - Pushed at: over 2 years ago - Stars: 72 - Forks: 2

bennycode/ts2esm

Transforms CommonJS projects into ESM.

Language: TypeScript - Size: 970 KB - Last synced at: 2 days ago - Pushed at: 19 days ago - Stars: 71 - Forks: 3

sachinraja/trpc-v10-migrate-codemod

codemod to migrate your tRPC codebase from v9 to v10

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

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: 7 days ago - Pushed at: about 1 year ago - Stars: 69 - Forks: 38

avajs/ava-codemods 📦

Codemods for AVA

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

vercel/next-codemod 📦

codemod transformations to help upgrade Next.js codebases

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

JamieMason/codemods

A collection of transforms for use with JSCodeshift

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

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: about 11 hours ago - Pushed at: 4 months ago - Stars: 63 - Forks: 14

apptools-lab/AppLint

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

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

ember-codemods/ember-angle-brackets-codemod

Codemod to convert curly braces syntax to angle brackets syntax

Language: JavaScript - Size: 2.64 MB - Last synced at: about 8 hours ago - Pushed at: 12 months ago - Stars: 60 - Forks: 32

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: 15 days ago - Pushed at: 4 months ago - Stars: 58 - Forks: 7

KnisterPeter/tscodeshift 📦

tscodeshift is a toolkit for running codemods over multiple TS files

Language: TypeScript - Size: 74.2 KB - Last synced at: 27 days ago - Pushed at: over 7 years ago - Stars: 53 - Forks: 4

duolingo/pulldozer

CLI tool for batch editing multiple repos :tractor:

Language: Shell - Size: 200 KB - Last synced at: 6 days ago - Pushed at: 5 months ago - Stars: 51 - Forks: 5

skovy/font-awesome-codemod

⚙️ Font Awesome codemod script

Language: TypeScript - Size: 345 KB - Last synced at: 12 days ago - Pushed at: over 2 years ago - Stars: 49 - Forks: 3

rajasegar/codeshift

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

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

untitaker/spacemod

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

Language: Rust - Size: 145 KB - Last synced at: about 20 hours ago - Pushed at: 4 months ago - Stars: 47 - Forks: 2

SyMind/taro2-to-3

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

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

woovibr/codemods

Node.js/Javascript codemods used at @entria

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

JamieMason/ts-import-types-cli

Autofix TypeScript types to be imported using `import type`

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

sibelius/graphql2ts

Transform .graphql to graphql-js typescript

Language: TypeScript - Size: 1.25 MB - Last synced at: 20 days ago - Pushed at: over 2 years ago - Stars: 41 - Forks: 1

iopipe/serverless-plugin-iopipe

Automatically wrap your serverless framework functions with IOpipe

Language: JavaScript - Size: 481 KB - Last synced at: 2 days ago - Pushed at: over 6 years ago - Stars: 40 - Forks: 8

vutran/preact-codemod

:shaved_ice: Shave some bytes by using Preact.

Language: JavaScript - Size: 145 KB - Last synced at: 6 days ago - Pushed at: about 7 years ago - Stars: 40 - Forks: 6

bfncs/codemod-imports-sort

Sort ES6 imports by type

Language: JavaScript - Size: 91.8 KB - Last synced at: 8 days ago - Pushed at: about 7 years ago - Stars: 38 - Forks: 4

ember-codemods/ember-qunit-codemod

Language: JavaScript - Size: 606 KB - Last synced at: about 1 month ago - Pushed at: over 4 years ago - Stars: 36 - Forks: 19

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: over 1 year ago - Stars: 34 - Forks: 1

rajasegar/moment-dayjs-codemod

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

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

shiyangzhaoa/css-modules-to-tailwind

Tailwind css convert tool

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

dhruvdutt/es5-function-to-class-codemod

:package: Transform ES5 Functions to ES6 Classes

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

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: about 9 hours ago - Pushed at: over 2 years ago - Stars: 31 - Forks: 1

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: 5 days ago - Pushed at: 11 months ago - Stars: 30 - Forks: 1

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 2 months ago - Pushed at: over 2 years ago - Stars: 29 - Forks: 4

kentcdodds/babel-codemod-example

An example of how to use babel as a codemod

Language: JavaScript - Size: 13.7 KB - Last synced at: 27 days ago - Pushed at: over 4 years ago - Stars: 26 - Forks: 4

ijlee2/ember-codemod-v1-to-v2

Codemod to convert Ember addons to v2 addon format

Language: TypeScript - Size: 1.29 MB - Last synced at: 8 days ago - Pushed at: 11 days ago - Stars: 24 - Forks: 1

jelmer/awesome-codemods

Curated list of tools that can fix your code for you

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

sibelius/talk-maringa-ast

Slides of my talk about Practical AST at Front in Maring

Language: JavaScript - Size: 5.37 MB - Last synced at: 4 minutes ago - Pushed at: over 2 years ago - Stars: 23 - Forks: 1

villesau/nexus-to-pothos-codemod

Transforms Nexus code to Pothos

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

ijlee2/codemod-utils

Utilities for writing codemods

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

dhruvmanila/remove-print-statements 📦

A command-line tool (and pre-commit hook) to remove print statements from your Python project.

Language: Python - Size: 193 KB - Last synced at: 4 days ago - Pushed at: over 1 year ago - Stars: 21 - Forks: 2

DockYard/ember-i18n-to-intl-migrator

Migrate ember-i18n to ember-intl

Language: JavaScript - Size: 132 KB - Last synced at: 13 days ago - Pushed at: over 5 years ago - Stars: 21 - Forks: 9

Subsecond-LLC/Subsecond

A jQuery-like syntax for typescript codemod.

Language: TypeScript - Size: 43.9 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 20 - Forks: 0

RIP21/babel-plugin-hyperscript-to-jsx

This plugin transforms react-hyperscript into JSX. Intended to be used as codemod.

Language: JavaScript - Size: 1.36 MB - Last synced at: 3 days ago - Pushed at: over 2 years ago - Stars: 20 - Forks: 4

codemod-com/intuita-vscode-extension 📦

Discover & run code automation bots, aka codemods, built by the community, right in your favorite code editor.

Language: TypeScript - Size: 3.3 MB - Last synced at: 12 months ago - Pushed at: over 1 year ago - Stars: 19 - Forks: 4

cdlewis/idx-to-optional-chaining

JSCodeShift codemod that transforms usage of idx to the draft optional chaining standard.

Language: JavaScript - Size: 959 KB - Last synced at: 4 months ago - Pushed at: over 2 years ago - Stars: 19 - Forks: 3

rajasegar/jarvis

JARVIS - Write me a codemod

Language: JavaScript - Size: 19.3 MB - Last synced at: about 9 hours ago - Pushed at: about 11 hours ago - Stars: 18 - Forks: 2

ijlee2/ember-codemod-pod-to-octane

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

Language: TypeScript - Size: 930 KB - Last synced at: 8 days ago - Pushed at: 11 days ago - Stars: 18 - Forks: 3

ant-design/codemod-v5

codemod cli for antd v5 upgrade

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

ember-codemods/ember-no-implicit-this-codemod

Template codemod for refactoring from `{{foo}}` to `{{this.foo}}`

Language: TypeScript - Size: 1.5 MB - Last synced at: 3 days ago - Pushed at: 11 months ago - Stars: 17 - Forks: 25

rajasegar/jscodeshift-collections

Collections for some AST nodes in jscodeshift

Language: JavaScript - Size: 1.06 MB - Last synced at: 14 days ago - Pushed at: about 1 year ago - Stars: 17 - Forks: 1

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: 8 days ago - Pushed at: over 1 year ago - Stars: 17 - Forks: 8

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: 28 days ago - Pushed at: about 7 years ago - Stars: 17 - Forks: 1

rajasegar/ruby-ast-explorer

AST Explorer for ruby

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

ijlee2/ember-codemod-args-to-signature

Codemod to convert component Args to Signature

Language: TypeScript - Size: 656 KB - Last synced at: 8 days ago - Pushed at: 11 days ago - Stars: 14 - Forks: 0

codemodsquad/asyncify

Don't keep your promises 😉

Language: TypeScript - Size: 1.06 MB - Last synced at: 10 days ago - Pushed at: over 2 years ago - Stars: 14 - Forks: 6

atsikov/eslint-jest-testing-library-codemod

A set of autofixes for eslint-plugin-testing-library to make migration less painful

Language: TypeScript - Size: 1.11 MB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 14 - Forks: 2

rajasegar/ast-node-builder 📦

AST Node building api for jscodeshift

Language: JavaScript - Size: 698 KB - Last synced at: 6 days ago - Pushed at: about 3 years ago - Stars: 14 - Forks: 1

skovy/css-codemod

🐍 Toolkit for running codemods over CSS files

Language: TypeScript - Size: 1.1 MB - Last synced at: 4 days ago - Pushed at: over 3 years 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: 8 days ago - Pushed at: 15 days ago - Stars: 13 - Forks: 0

obweger/modster

A plugin system and CLI for consuming and executing jscodeshift codemods, in a way that is not terrible.

Language: TypeScript - Size: 193 KB - Last synced at: 20 days ago - Pushed at: over 1 year ago - Stars: 13 - Forks: 1

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: 25 days ago - Pushed at: almost 2 years ago - Stars: 13 - Forks: 0

ember-codemods/ember-data-codemod

A codemod to upgrade to new ember-data packages

Language: JavaScript - Size: 1.48 MB - Last synced at: 1 day ago - Pushed at: over 2 years ago - Stars: 13 - Forks: 7

AlexJuarez/chai-to-jasmine

A chai to jasmine codemod that includes additional transforms for jest migration

Language: JavaScript - Size: 113 KB - Last synced at: about 2 months ago - Pushed at: about 8 years ago - Stars: 13 - Forks: 1

uber-web/uber-codemods

Because Code Changes and Evolves

Language: JavaScript - Size: 419 KB - Last synced at: 13 days ago - Pushed at: over 2 years ago - Stars: 12 - Forks: 4

azu/code-migrator

Create code migration tool for your tool/library/framework.

Language: TypeScript - Size: 58.6 KB - Last synced at: 13 days ago - Pushed at: over 6 years ago - Stars: 12 - Forks: 0

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: 6 days ago - Pushed at: over 2 years ago - Stars: 11 - Forks: 0

pixee/simple-gradle-codemod-tutorial

An example codemodder codemod

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

rajasegar/react-router-v6-codemods

Codemods to migrate to react-router v6

Language: JavaScript - Size: 825 KB - Last synced at: 13 days ago - Pushed at: over 2 years ago - Stars: 10 - Forks: 2

rajasegar/ember-tailwind-codemod

Codemod for migrating to Tailwind utilities in Ember components

Language: JavaScript - Size: 635 KB - Last synced at: 4 days ago - Pushed at: almost 4 years ago - Stars: 10 - Forks: 0

amerani/babel-plugin-localize

codemod to localize static strings

Language: JavaScript - Size: 266 KB - Last synced at: 1 day ago - Pushed at: almost 7 years ago - Stars: 10 - Forks: 1

jrestall/react-router-codemods

Codemods to help upgrade Remix to React Router v7

Language: TypeScript - Size: 164 KB - Last synced at: about 19 hours ago - Pushed at: 2 months ago - Stars: 9 - Forks: 1

BartoszJarocki/jscodeshift-react-i18next

jscodeshift transform that aims to extract hardocded strings in React applications

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