Codeflow can now hand you a patch that strips debug statements out of a JS/TS repo. It stays read-only: you see the diff, download the .patch, and run git apply yourself.
The hard part was deciding what is actually safe to delete. A console.log only goes in the patch when it sits alone on its lines and really is the global console. Shadowed console bindings, eval in scope, trailing ts-ignore or eslint comments, and unbraced if bodies all stay report-only. CRLF files keep their line endings so the patch still applies.
Paste a GitHub URL, get the architecture map, and now the cleanup patch too.
https://github.com/braedonsaunders/codeflow
GitHubGitHub - braedonsaunders/codeflow: Paste any GitHub URL → interactive architecture map. See how files connect, find what breaks if you change something. No install, no accounts — runs entirely in your browser.Paste any GitHub URL → interactive architecture map. See how files connect, find what breaks if you change something. No install, no accounts — runs entirely in your browser. - braedonsaunders/code...
commit 6c7bcad