@d0paminedriven/codemod
v2.3.0
Published
codemods to combat boring repetitive tasks
Downloads
6
Readme
@d0paminedriven/codemod
Run a single command to effortlessly prepend Reacts "use client" flag in files without it containing client-only patterns
- example usage with pnpm
pnpm ddcodemod react18 src --logs
react18
is the codemod flagsrc
is the directory to target recursively--logs
outputs detailed logs to a .gitignored directory at the root of the cwd in which this package is installed (a .ddcodemod dir)
- See the executable file for instructions or run
npx ddcodemod --help
yarn ddcodemod --help
pnpm ddcodemod --help