@d0paminedriven/codemod
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

@d0paminedriven/codemod

Run a single command to effortlessly prepend Reacts "use client" flag in files without it containing client-only patterns

ddcodemod


  • example usage with pnpm
pnpm ddcodemod react18 src --logs
  • react18 is the codemod flag
  • src 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)

npx ddcodemod --help
yarn ddcodemod --help
pnpm ddcodemod --help

Package available as @d0paminedriven/codemod on npm

Readme

Keywords

none

Package Sidebar

Install

npm i @d0paminedriven/codemod

Weekly Downloads

1

Version

2.3.0

License

MIT

Unpacked Size

122 kB

Total Files

36

Last publish

Collaborators

  • d0paminedriven