• Add Status To Error Handling

    This codemod improves error handling in SvelteKit by updating the way errors are returned in the load function. In SvelteKit 1, errors were handled inconsistently, often missing the status property or failing to trigger the handleError hook. SvelteKit 2 standardizes error handling by automatically including the status and message properties in error responses.

    by@priyanshuthapliyal2005
  • Vue 2 To Vue 3 Refs And Methods

    This codemod turns X into Y. It also does Z. Note: this is a contrived example. Please modify it.

    by@seboran
  • React Router/7/Migration Recipe

    This codemods designed to facilitate the migration of your project from React Router to version 7. Each codemod targets specific changes and improvements introduced in React Router v7, ensuring a smoother transition.

    by@manishjha-04
  • React Router/7/Add V7 FetcherPersist Flag

    This transformation adds the necessary configuration to enable v7 features, specifically the v7_fetcherPersist flags

    by@manishjha-04
  • React Router/7/Form Methods Post Get To Uppercase

    This transformation updates formMethod checks to use uppercase HTTP methods.

    by@manishjha-04
  • Meteor/V3/Update React

    This codemod helps in transforming react to meteor

    by@yugal41735
  • Meteor/V3/Mongo Db Async Methods

    This codemod updates synchronous MongoDB operations in a Meteor project to use their asynchronous counterparts, making the code compatible with modern JavaScript best practices (using async/await). It transforms methods such as find, findOne, insert, update, remove, and upsert to their asynchronous equivalents by appending Async to method names and introducing await.

  • Remix Js/V2/Migration Recipe

    This recipe is a set of codemods that will help migrate to Remix.js v2.

    by@dfordp
  • Remix Js/V2/Fetcher Submission Properties Flattening

    Like useNavigation, useFetcher has flattened the submission and removed the type field.

  • Next/15/Update Fetch Requests To Handle Caching

    Update Fetch Requests to Handle Caching

    by@nishant2253
  • Next/15/Migration Recipe

    This recipe is a set of codemods that will help migrate to next 15.

    by@nishant2253
  • Meteor/V3/Call Async

    This codemod replaces call with callAsync, since thats how meteor works with calls now.

    by@yugal41735
  • Valtio/V2/Use Snapshot Migration

    This codemod automates the migration of Valtio code to accommodate changes in the behavior of useSnapshot(). In recent updates, useSnapshot() has been modified for better compatibility with useMemo and the upcoming React compiler. This codemod updates your code to ensure optimal performance and compatibility with these changes.

    by@manishjha-04
  • TanStackRouter CodeSplitting

    This codemod automates the process of splitting your TanStack Router route files into two separate files to enable code splitting. By utilizing this codemod, you can easily move non-critical route configuration, such as the component, into a separate .lazy.tsx file, which allows for better performance and reduced initial load time in your React application.

  • Ethers/6/Utilities

    This codemod does tranformation based on changes in the utils in ethers.js

    by@yugal41735
  • Fetch To Ky

    This codemod is designed to help you migrate your existing codebase from using the native fetch API to the more concise and convenient ky HTTP client library. By running this codemod, you can automatically update your code to leverage ky's features, such as simpler syntax for common use cases like JSON requests and responses.

  • Remix/Single Fetch/Recipe

    This codemod runs all of the Single Fetch codemods in order

    by@jacobparis
  • Remix/Single Fetch/Replace Types

    This codemod replaces the UIMatch and MetaArgs types with UIMatch_SingleFetch and MetaArgs_SingleFetch

    by@jacobparis
  • Remix/Single Fetch/Redirect To Response

    This codemod removes Remix's redirect() and redirectDocument() helper functions to take advantage of the new Single Fetch features.

    by@jacobparis
  • Remix/Single Fetch/New Response To Response

    This codemod removes new Response() calls in actions and loaders and replaces them with mutations to the new response arg from Single Fetch.

    by@jacobparis