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.
Migrate custom ESLint rules from v8 to v9 format
Migrate ESLint configuration from v8 to v9 flat config format
Replace string concatenation in ProcessBuilder constructor with separate argument arrays to prevent command injection
Replace Cipher.getInstance(AES) with explicit Cipher.getInstance(AES/CBC/PKCS5Padding) configuration
Handle DEP0010 via transforming `crypto.createCredentials` to `tls.createSecureContext`
Handle DEP0185: Instantiating node:repl classes without new
Transform CryptoJS.MD5() calls to use CryptoJS.SHA256() for stronger cryptographic security. MD5 is cryptographically broken and vulnerable to collision attacks.
using arkregex instead of `new RegExp`
Updates MySQL connection configurations to use environment variables instead of hardcoded passwords
Replaces deprecated Node.js crypto functions like crypto.createHash('md5') with secure alternatives
Transform fetch() calls to explicitly set credentials: 'same-origin' instead of 'include' to prevent CSRF vulnerabilities
Handle DEP0093 via transforming `crypto.fips` to `crypto.getFips()` and `crypto.setFips()`
Build your own codemod and share it with the community.