🧹 A simple CLI to clean your JS/TS files by removing console.log
, debugger
, comments, and TODOs.
A CLI tool to remove:
console.log
debugger
-
// comments
,/* comments */
- TODO / FIXME notes
From JavaScript and TypeScript files.
You can use it directly with npx
:
npx purify-code ./src
npm install -g purify-code
purify-code ./your-folder
purify-code ./src
- Cleans .js and .ts files recursively
- Useful before production or committing code
Does not minify or rewrite logic — just removes obvious debug stuff.
Built with ❤️ by Manindra Bollam(manindra810@gmail.com)