Use case
Framework
Owner
Lodash/2/Es Toolkit/Migrate
This codemod automates the migration from Lodash library to es-toolkit package.
Launchdarkly To Openfeature Nodejs Update Imports
This Codemod helps to convert DevCycle Node.js SDK implementations to the OpenFeature Node.js SDK using the DevCycle Provider. It handles the first step of the conversion by updating the packages imports:
Devcycle To Openfeature Nodejs Workflow
This Codemod runs a series of DevCycle Codemods in a workflow to convert your Node.js project from using DevCycle's Node.js Server SDK to using OpenFeature's Node.js SDK with DevCycle's OpenFeature Provider.
Devcycle To Openfeature Nodejs Update Imports
This Codemod helps to convert DevCycle Node.js SDK implementations to the OpenFeature Node.js SDK using the DevCycle Provider. It handles the first step of the conversion by updating the packages imports:
Tiptap 2 Migrate Imports
This is a codemod created with
codemod init
.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Correct Ts Specifiers
This package transforms import specifiers from the old
tsc
(TypeScript's compiler) requirement of using.js
file extensions in source-code to import files that are actually typescript; the corrected specifiers enable source-code to be runnable by standards-compliant software like Node.js.React/Update React Imports
This codemod transforms React imports to use named imports instead of default or namespace imports. This helps reduce bundle size by allowing better tree-shaking of unused React exports.
Import Change Js To Ts Extensions
This codemod changes
.js
to.ts
file extension in relative, top-level imports. If no.js
file extension was previously used, it adds.ts
file extension instead.Import Add Js Extensions
This codemod adds
.js
file extension to relative, top-level imports.Deno Replace Import Assertions
This codemod helps migrate JavaScript/TypeScript files from using the deprecated import assertions syntax to the updated import attributes syntax. The change aligns with the updated proposal for import attributes and ensures compatibility with newer versions of runtimes like Deno 2 and modern browsers that have already removed support for import assertions.
Deno Remove Node:Process Import
This codemod removes redundant import process from 'node:process'; statements, as process is now globally available in Deno v2
Deno Import STL Types
This codemod updates deprecated Deno typescript interfaces in your codebase. It automatically imports the necessary typscript interfaces from the standard library
Remix/2/React Router/Upgrade
This codemod automates most of the manual steps outlined in the Remix to React Router upgrade guide.
React Router/6/UseHistory To UseNavigate
This codemod migrates
useHistory
touseNavigate
in React Router codebases. It replacesuseHistory
imports and updates all instances ofhistory.push
,history.replace
,go
,goBack
, andgoForward
to align with theuseNavigate
API.React Router/6/Switch To Routes
This codemod updates
Switch
components toRoutes
in React Router, in line with React Router v6 and newer. It also adjusts the imports, replacingSwitch
withRoutes
inreact-router-dom
import statements.React Router/6/Migrate StaticRouter Import
This codemod updates imports of
StaticRouter
to use thereact-router-dom/server
package instead ofreact-router-dom
, in line with updated React Router requirements.React Router/6/Replace UseRouteMatchWithUseMatch
This codemod updates
useRouteMatch
calls to the neweruseMatch
function inreact-router-dom
. It also adjusts any arguments passed touseRouteMatch
, changingstrict
toend
andsensitive
tocaseSensitive
. Additionally, it ensures that imports are updated to reflect the removal ofuseRouteMatch
.