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.
Handle DEP0185: Instantiating node:repl classes without new
Handle DEP0093 via transforming `crypto.fips` to `crypto.getFips()` and `crypto.setFips()`
Handle DEP0116 via transforming `url.parse` to `new URL()`
Handle DEP0191 via transforming `repl.builtinModules` usage to `module.builtinModules`.
Replaces deprecated `util.is*()` methods with their modern equivalents.
Migrates usage of the legacy APIs `buffer.atob()` and `buffer.btoa()` to the current recommended approaches
Handle DEP0154 via transforming deprecated RSA-PSS crypto options `hash` to `hashAlgorithm` and `mgf1Hash` to `mgf1HashAlgorithm`
Handle DEP0081 via transforming `truncate` to `ftruncateSync` when using a file descriptor.
Handle DEP0108 by replacing deprecated `zlib.bytesRead` with `zlib.bytesWritten` in Node.js transform streams
Handle DEP0197 via transforming `types.isNativeError` to `Error.isError`
Handle DEDEP0195: Instantiating node:http classes without new
Handle DEP0026, DEP0027, DEP0028, DEP0029 via transforming `util.print|puts|debug|error()` to `console.log|error()`
Build your own codemod and share it with the community.