• Goto To Location Href

    Codemod Description

    This codemod is designed to replace specific patterns in TypeScript files with updated code logic. It transforms instances of goto($A) into window.location.href = $A; when the $A value is a URL starting with http:// or https://. This refactor makes external navigation more explicit by using window.location.href.

  • Deno Refactor TLS Certs Reading

    This codemod updates the usage of TLS certificate loading in Deno by replacing deprecated properties with their new counterparts. In Deno V2, loading certificates directly from files is now deprecated. Instead, you should read the certificates yourself.

  • Deno Refactor Resource Ids

    In Deno v2, resource IDs are being deprecated. Most users do not directly interact with resource IDs, so we are moving towards a model where resources are referenced by native JavaScript objects. This codemod automates the process of updating your code to align with this change.

  • Refactor Native Module Calls

    This codemod updates your React Native code to use the New Architecture's synchronous native module calls, replacing callback-based patterns for improved performance and simplicity.

  • ChakraUI/V3/Refactor Custom Theme

    • Replaces extendTheme with createSystem and defaultConfig.
    • Updates your theme object to fit the new structure required by Chakra UI.
  • Reka Ui/Update Combobox Filter

    Combobox has been refactored and improve to support better custom filtering

  • MoveStateToChildComponent

    This codemod refactors React components by moving useState hooks from parent components to child components when the state and setter function (setState) are passed down as props. The goal is to simplify the parent components and allow child components to manage their own internal state when appropriate.

  • Next/15/Add Experimental Stale Times

    Configure staleTimes in next.config.js

  • Next/15/Update Fetch Requests To Handle Caching

    Update Fetch Requests to Handle Caching

  • Next/15/Update Route Handlers

    Update Route Handlers to Handle Caching

  • Next/15/Migration Recipe

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

  • Meteor/V3/Fibers To Async Promises

    This codemod assists in removing the use of Fibers from your Meteor codebase, refactoring your code to utilize the modern async/await pattern introduced in Meteor v3.

  • Meteor/V3/Removed Functions

    This codemod helps remove deprecated functions like Promise.await and Meteor.wrapAsync from your Meteor codebase, aligning it with the new best practices introduced in Meteor v3.

  • Next/15/Refactor Experimental.ServerComponentsExternalPackages To ServerExternalPackages

    Refactor experimental.serverComponentsExternalPackages to serverExternalPackages

  • Next/15/Refactor Imports From @Next/Font To Next/Font

    Refactor Imports from @next/font to next/font

  • Node/Globmatch Native

    This codemod automates the migration of glob-matching functions like minimatch, micromatch, and picomatch to Node.js's native matchesGlob support in LTS version 20.17.0.

  • Preact/X/Replace This State With Prevstate

    A codemod that prevents synchronous state access in Preact by converting setState to use a callback function.

  • Preact/X/Props Children To Child Array

    A codemod that enhances child handling in Preact components by using toChildArray for accurate child count.

  • Preact/X/LibraryAuthors Attribute Node Children Renaming

    This codemod is intended for library authors who are maintaining packages to be used with Preact X.