Codemod Registry
Explore community-led codemods to migrate, optimize, and transform your codebase.
Ready to contribute?
Build your own codemod and share it with the community.
Explore community-led codemods to migrate, optimize, and transform your codebase.
Build your own codemod and share it with the community.
Explore community-led codemods to migrate, optimize, and transform your codebase.
Automatically enable CSRF prevention in Apollo GraphQL Server v3 by setting csrfPrevention: true in server configuration
Transform Express.js res.send() calls that concatenate user input directly into HTML to use proper HTML escaping to prevent XSS vulnerabilities
Transform Express.js static middleware configurations to explicitly disable directory listing
Transform Koa.js applications using koa-body or koa-bodyparser without size limits to include proper limits
Transform express-session configuration to include secure: true, httpOnly: true, and sameSite settings
Automatically adds security-critical httpOnly and sameSite attributes to cookie configurations in Hono applications to prevent XSS and CSRF attacks
Make the controller to only call the service
Migrate bun catalog to pnpm workspace catalogs format
Migrate pnpm workspace catalogs to bun catalog format
Fix incorrect pnpm catalog configurations in package.json and pnpm-workspace.yaml files
Handle DEP0116 via transforming `url.parse` to `new URL()`
Handle DEP0191 via transforming `repl.builtinModules` usage to `module.builtinModules`.
Build your own codemod and share it with the community.