Use case
Framework
Owner
Cursor Selection Handling
This codemod shows how to migrate cursor and
selection
handling from Slate v0.88 to v0.104, including the Preventing runtime errors from null selections.React Router/6/Seperate Link State Prop
This codemod simplifies the
Link
component by transforming itsto
prop from an object with apathname
to a string. It removes the unnecessary object wrapper around thepathname
, maintaining thestate
prop as is.Array To Set Conversion
A codemod which makes the array search operation more optimal and efficient, by converting the array into a set and executing the set's has method to find the desired element.
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 asfind
,findOne
,insert
,update
,remove
, andupsert
to their asynchronous equivalents by appendingAsync
to method names and introducingawait
.Meteor/V3/Removed Functions
This codemod helps remove deprecated functions like
Promise.await
andMeteor.wrapAsync
from your Meteor codebase, aligning it with the new best practices introduced in Meteor v3.Preact/X/Migration Recipe
This recipe provides a collection of codemods to help you migrate your codebase to Preact X. These codemods are designed to streamline the transition process by automating common code transformations.