Use case
Framework
Owner
- @Nodejs/Correct Ts Specifiers- This package transforms import specifiers from the old - tsc(TypeScript's compiler) requirement of using- .jsfile 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.
- Lodash/2/Es Toolkit/Migrate- This codemod automates the migration from Lodash library to es-toolkit package. 
- Devcycle To Openfeature Nodejs User Context Transform- This Codemod updates the - DevCycleUserobject to an OpenFeature- EvaluationContextobject:
- Poulet42/Declare Ts Services- This codemod transforms @service decorators to use the correct TypeScript syntax 
- Correct Ts Specifiers- This package transforms import specifiers from the old - tsc(TypeScript's compiler) requirement of using- .jsfile 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.
- Sveltekit Import And Path Simplification- This codemod simplifies the import statements and path resolution in your SvelteKit project. It replaces the usage of - resolvePathand concatenation with- baseby using the- resolveRoutefunction from- $app/paths. This results in cleaner and more readable code.
- 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- $Avalue is a URL starting with- http://or- https://. This refactor makes external navigation more explicit by using- window.location.href.
- Add Cookie Path To All Methods- This codemod adds - { path: '/' }to all- cookiesmethod calls in your TypeScript project. It ensures that cookies are set, deleted, or serialized with the correct path specified, which helps in consistent cookie handling across different environments.
- Replace Throw With Error Call- This codemod simplifies error handling and redirects in your TypeScript project by replacing - throw error()and- throw redirect()statements with direct calls to- error()and- redirect(). This change aligns with modern practices and results in cleaner, more readable code.
- Event Handling On Change- This codemod automates the update of your - onChangeevent handler function to support the new- Descendant[]type and selection handling introduced in version 0.104.
- With React Integration- This codemod transforms the usage of - withReact(createEditor())into a- useMemo-based structure, which wraps the editor creation and introduces an inline-checking function (- isInline) for the editor instance. This transformation optimizes the creation of the editor object by memoizing it.
- Cursor Selection Handling- This codemod shows how to migrate cursor and - selectionhandling from Slate v0.88 to v0.104, including the Preventing runtime errors from null selections.
- Editor Has Path- This guide covers the migration of - Editor.hasPathusage from Slate.js v0.88 to v0.104. The API has changed from a property-based check to a function call pattern, requiring updates to existing code.
- Custom Renderers- This codemod updates the - renderElementfunction to include TypeScript typings and adds a default case for rendering unsupported element types.
- 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 Import STL Types- This codemod updates deprecated Deno typescript interfaces in your codebase. It automatically imports the necessary typscript interfaces from the standard library 
- Webpack To Rspack/Migrate Update Babel Loader To Swc Loader- Using builtin:swc-loader offers better performance compared to the babel-loader and the external swc-loader, as it avoids frequent communication between JavaScript and Rust. 
- Remix Js/V2/Migration Recipe- This recipe is a set of codemods that will help migrate to Remix.js v2. 
- Remix Js/V2/Typescript 2 Update Links Function And Property Names- Route links properties should all be the React camelCase values instead of HTML lowercase values. 
- Styledictionary/4/Type- What Changed