npm-to-pnpm-rewriter 0.2.0

Rewrites npm and npx invocations to pnpm (or yarn / bun) before the Bash tool runs them and tells the model what ran through context. A tool.call hook that forwards a modified event (the modifying placement).

claude-code-templates 32,401

Install

Terminal
git clone https://github.com/davila7/claude-code-templates.git
claude --plugin-dir claude-code-templates/cli-tool/components/mods/productivity/npm-to-pnpm-rewriter

Run in a terminal. Claude Code loads the mod from that folder for the session.

Hooks into

  • Tool calls

Modules