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 DEP0100 via transforming `process.assert` to `node:assert`.
Handle DEP0059 via transforming `log.util()` to `console.log()`.
Handle DEP0138 via transforming `process.mainModule` to `require.main`.
Handle DEP0185: Instantiating node:repl classes without new
Handle DEP0030 via transforming SlowBuffer usage to Buffer.allocUnsafeSlow().
Handle DEP0081 via transforming `truncate` to `ftruncateSync` when using a file descriptor.
Handle DEP0093 via transforming `crypto.fips` to `crypto.getFips()` and `crypto.setFips()`
Handle DEP0010 via transforming `crypto.createCredentials` to `tls.createSecureContext`
Handle DEP0147 via transforming `fs.rmdir` to `fs.rm`
Handle DEP0191 via transforming `repl.builtinModules` usage to `module.builtinModules`.
Handle DEP0197 via transforming `types.isNativeError` to `Error.isError`
Migrates usage of the legacy APIs `buffer.atob()` and `buffer.btoa()` to the current recommended approaches
Build your own codemod and share it with the community.