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 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. 
- 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 Vite Preprocess Migration- This codemod updates import paths and ensures compatibility with changes in library structures. In this example, it modifies the import statement for vitePreprocess to reflect updates in the library's API. 
- 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.
- Dynamic To Static Env Transformer- This codemod transforms import {$A} from '$env/dynamic/public'; and import {$A} from '$env/dynamic/private'; into their static counterparts, replacing them with import {$A} from '$env/static/public'; and import {$A} from '$env/static/private';, respectively. It ensures compatibility for prerendered pages and static deployments. 
- 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. 
- Add Multipart Enctype To Forms With File Input- This codemod automatically adds the enctype="multipart/form-data" attribute to forms containing file input fields. It ensures that forms with file inputs properly handle file uploads during non-JS submissions, which is a requirement for SvelteKit v2. 
- 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.
- 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.
- Deno Rewrite Custom Inspect- This codemod replaces occurrences of Deno.customInspect with Symbol.for("Deno.customInspect"). This change aligns with the new standard for defining custom inspection behavior in Deno, providing better interoperability with JavaScript's built-in features. 
- 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 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. 
- Webpack To Rspack/Cssextractwebpackplugin Community To Included Plugin- Handles the migration of the CssExtractWebpackPlugin webpack plug-in into an included plugin in rspack. 
- 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. 
- 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- upsertto their asynchronous equivalents by appending- Asyncto method names and introducing- await.
- Styledictionary/4/Module Common Js- What Changed