{"id":13452272,"url":"https://github.com/sejoker/awesome-jscodeshift","last_synced_at":"2025-04-06T09:09:41.143Z","repository":{"id":41203472,"uuid":"53223377","full_name":"sejoker/awesome-jscodeshift","owner":"sejoker","description":"A curated list of jscodeshift packages and resources.","archived":false,"fork":false,"pushed_at":"2023-10-22T09:12:10.000Z","size":31,"stargazers_count":400,"open_issues_count":5,"forks_count":22,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-12-06T19:11:52.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sejoker.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"contributing.md","funding":null,"license":null,"code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-03-05T21:07:18.000Z","updated_at":"2024-11-22T03:53:36.000Z","dependencies_parsed_at":"2024-01-06T02:04:22.733Z","dependency_job_id":"fd8b59b8-ae20-436c-a63e-7721f2d85486","html_url":"https://github.com/sejoker/awesome-jscodeshift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sejoker%2Fawesome-jscodeshift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sejoker%2Fawesome-jscodeshift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sejoker%2Fawesome-jscodeshift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sejoker%2Fawesome-jscodeshift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sejoker","download_url":"https://codeload.github.com/sejoker/awesome-jscodeshift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423511,"owners_count":20936626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T07:01:19.027Z","updated_at":"2025-04-06T09:09:41.106Z","avatar_url":"https://github.com/sejoker.png","language":null,"funding_links":[],"categories":["Others","Meta","Awesome Lists","Other Lists","JavaScript"],"sub_categories":["Debian","ant-design","TeX Lists","Manipulating"],"readme":"# awesome jscodeshift [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)\n\n\u003e Awesome [jscodeshift](https://github.com/facebook/jscodeshift) resources and tips\n\n*Inspired by the [awesome](https://github.com/sindresorhus/awesome) list thing.*\n\n*Please read the [contribution guidelines](contributing.md) before contributing.*\n\n\n## Table of Contents\n\n- [Tools](#tools)\n- [Codemods](#codemods)\n- [Articles](#articles)\n- [Talks](#talks)\n- [Integrations](#integrations)\n- [Community](#community)\n\n\n### Tools\n\n- [jscodeshift](https://github.com/facebook/jscodeshift) - A JavaScript codemod toolkit.\n- [recast](https://github.com/benjamn/recast) - JavaScript syntax tree transformer\n- [babel](https://github.com/babel/babel) - Babel is a compiler for writing next generation JavaScript.\n- [astexplorer](http://astexplorer.net/) - A web tool to explore the AST generated by various parsers.\n- [jscodeshift-imports](https://www.npmjs.com/package/jscodeshift-imports) - A JSCodeshift extension with helpers for modifying \u003ccode\u003eimport\u003c/code\u003e and \u003ccode\u003erequire\u003c/code\u003e statements.\n- [jscodemigrate](https://github.com/brysgo/jscodemigrate) - Migrate your code like you do with your database.\n- [jscodeshift-ava-tester](https://github.com/jfmengels/jscodeshift-ava-tester) - Test codemods using [AVA](https://github.com/avajs/ava) test runner.\n\n### Codemods\n\n- [react-codemod](https://github.com/reactjs/react-codemod) - React codemod scripts to update React APIs.\n- [js-codemod](https://github.com/cpojer/js-codemod/) - Codemod scripts to transform code to next generation JS.\n- [js-transforms](https://github.com/jhgg/js-transforms) - Some documented codemod experiments to help you learn.\n- [rackt-codemod](https://github.com/reactjs/rackt-codemod) - Codemod scripts for Rackt libraries.\n- [coffee-to-es2015-codemod](https://github.com/Hacker0x01/coffee-to-es2015-codemod) - A set of JSCodeshift transforms that will help you transform your CoffeeScript codebase to ES2015\n- [5to6-codemod](https://github.com/5to6/5to6-codemod) - A collection of codemods that allow you to transform your js code from ES5 to ES6.\n- [es5-function-to-class-codemod](https://github.com/dhruvdutt/es5-function-to-class-codemod) - Transform ES5 Functions to ES6 Classes.\n- [webpack-babel-codemod](https://github.com/agirton/webpack-babel-codemod) - Convert anonymous webpack commonjs require statements to es2015 import statements.\n- [lodash-to-lodash-amd-codemods](https://github.com/OliverJAsh/lodash-to-lodash-amd-codemods) - lodash to [lodash-amd](https://github.com/lodash/lodash-amd) codemods\n- [rm-debugger](https://www.npmjs.com/package/rm-debugger) - Codemod for removing `debugger;`\n- [AMD Transformer](https://bitbucket.org/atlassian/amd-codemod/src) - converts JS into AMDified JS (by Atlassian)\n- [preact-codemod](https://github.com/vutran/preact-codemod) - Transform your React code to Preact.\n- [mocha2ava-codemod](https://github.com/shimohq/mocha2ava-codemod) - A tranformer for migrating tests from Mocha to Ava.\n- [undecorate-codemod](https://github.com/tizmagik/undecorate-codemod) - Transformers experimental ESNext decorators syntax to simple currying\n- [vue-codemods](https://github.com/SergioCrisostomo/vue-codemods) - Codemod script for Vue.js\n\n### Articles\n\n- [Effective JavaScript Codemods](https://medium.com/@cpojer/effective-javascript-codemods-5a6686bb46fb#.jhbsdwknu)\n- [How to write a codemod](https://vramana.github.io/blog/2015/12/21/codemod-tutorial/)\n- [Codemods: Path to painless upgrades in Ember](http://vramana.github.io/blog/2016/01/13/codemods-path-to-painless-updgrade-in-ember/)\n- [NFL ♥ Codemods: Migrating a Monolith](https://medium.com/nfl-engineers/nfl-codemods-migrating-a-monolith-1e3363571707#.j8a0gw4e6)\n- [Turbocharged JavaScript refactoring with codemods (Airbnb Engineering)](https://medium.com/airbnb-engineering/turbocharged-javascript-refactoring-with-codemods-b0cae8b326b9#.iuwdhoz2v)\n- [Write Code to Rewrite Your Code: jscodeshift](https://www.toptal.com/javascript/write-code-to-rewrite-your-code)\n- [Writing your very first codemod with jscodeshift](https://medium.com/@andrew_levine/writing-your-very-first-codemod-with-jscodeshift-7a24c4ede31b#.40m46qpka)\n- [Bridging the Network Divide (Walmart Labs)](https://medium.com/walmartlabs/bridging-the-network-divide-80e2355051dc#.2y6rc5eug)\n- [Refactor Code in Your Lunch Break: Getting Started with Codemods](https://www.sitepoint.com/getting-started-with-codemods/)\n- [Codemod - Refactoring Code Programmatically - Interview with Ramana Venkata](https://survivejs.com/blog/codemod-interview/)\n- [Automating the migration of lodash to lodash-es in a large codebase with jscodeshift](https://webuild.envato.com/blog/automating-the-migration-of-lodash-to-lodash-es-in-a-large-codebase-with-jscodeshift/)\n\n### Talks\n- [Evolving Complex Systems Incrementally](https://www.youtube.com/watch?v=d0pOgY8__JM)\n- [Hiking Through the JavaScript Forest by Jamund Ferguson](https://channel9.msdn.com/Blogs/seattlejs/2016-01-14-02) (covers jscodeshift as well as eslint and babel)\n- [Writing codemods to change all your code at once](https://www.youtube.com/watch?v=3upPRzn7JHU)\n- [JSCodeShift to keep your source evergreen with Web Components](https://www.youtube.com/watch?v=UF4LFNN2Ut4)\n\n\n### Integrations\n- [grunt-jscodeshift](https://github.com/cowchimp/grunt-jscodeshift)\n\n\n### Community\n\n- [#codemon channel](https://discord.gg/0ZcbPKXt5bX9R9qE) on [Reactiflux](http://www.reactiflux.com/)\n- [Stack Overflow](http://stackoverflow.com/questions/tagged/jscodeshift)\n- [Medium](https://medium.com/tag/codemods)\n- [Twitter](https://twitter.com/hashtag/JSCodeShift?src=hash)\n\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsejoker%2Fawesome-jscodeshift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsejoker%2Fawesome-jscodeshift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsejoker%2Fawesome-jscodeshift/lists"}