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 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()`
Handle DEP0176 via transforming imports of `fs.F_OK`, `fs.R_OK`, `fs.W_OK`, `fs.X_OK` from the root `fs` module to `fs.constants`.
Handle DEP0059 via transforming `log.util()` to `console.log()`.
Handle DEP0138 via transforming `process.mainModule` to `require.main`.
Handle DEP0022 via transforming `tmpDir` to `tmpdir`.
Handle DEP0147 via transforming `fs.rmdir` to `fs.rm`
Handle DEP0130 via transforming `createRequireFromPath` to `createRequire`.
Build your own codemod and share it with the community.