Skip to content

Latest commit

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

swapit

Find and replace a token in a folder. Writes a receipt. Does not commit.

chuumind.com

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.

About

Find and replace a token in a folder. The receipt is the proof.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages