Find and replace a token in a folder. Writes a receipt. Does not commit.
node swapit.js --from OLD --to NEW --root .
--to may be empty to delete the token. Exact string, not a regex.
Skips .git and node_modules. Skips non-text. Renames files and folders
that contain the token.
The receipt is swapit-receipt.json. If ok is true, it happened. Do not
edit files to confirm.
npm test
That is node swapit.js --check. One check.
Cursor skill: .cursor/skills/swapit/SKILL.md. Not a coding-style skill.
MIT. Justichuu.