Use case
Framework
Owner
Npm Esm First In Exports
Sort package.json export order to prefer ESM over CJS
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Sql/Add Index Before Select
Example of using codemod that changes SQL. It detects all SELECT statements and adds an index creation statement before them. Inside SELECT statement for any fields that ends with
_id
it creates an index on that field.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Nuxt/4/Template Compilation Changes
This codemod removes lodash/template and related template utilities from Nuxt in favor of a more flexible and secure getContents() function for code generation in v3.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Recipe
This recipe is a set of codemods that will upgrade json to orjson in your python projects.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Nuxt/4/Migration Recipe
This recipe is a set of codemods that will help migrate to Nuxt 4.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Next/13/App Router Recipe
The App Router Recipe is a set of codemods that assist you with the pages-to-app migration process.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Netlify/0.8.5/Recipe
The SDK v0.8.5 Recipe is a set of codemods that assist you with migrating to Netlify SDK v0.8.5.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Mocha/Vitest/Recipe
This recipe is a set of codemods that will upgrade your project from using
mocha
tovitest
.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Vue/3/Render Function Api
In Vue 3.x, h is now globally imported instead of being automatically passed as an argument. This codemod migrates the render function API to be compatible with Vue 3.x.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Typescript/Use Template Literals
This codemod replaces string concatenations with template literals.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Typescript/Remove Public Modifier
This codemod removes public modifier in interface declarations as it is implicit.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Statsig/Replace Gate
This codemod replaces Statsig gates with a static value provided by the user. Codemod replaces following SDK calls
checkGate
,useGate
;Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Remove Unused Feature Flags 2
This experimental codemod replaces function calls in a form of
await functionName()
, based on the following arguments: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
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
Redwoodjs/Core/4/Auth Decoder
This codemod for RedwoodJS v4 automatically inserts an
authDecoder
property into thecreateGraphQLHandler
call if it's not already present. It also adds an import statement forauthDecoder
from@redwoodjs/auth-auth0-api
at the beginning of the file, ensuring that the necessary functionality for authentication is correctly integrated.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Sentry Import Replacement
Replaces Sentry json import with orjson.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Dumps Add UTC Z
Add OPT_UTC_Z to orjson.dumps.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Json.Loads
This codemod converts json.loads to orjson.loads.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community