purify-code

1.0.1 • Public • Published

purify-code 🧹

npm license downloads

🧹 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.


📦 Installation

You can use it directly with npx:

npx purify-code ./src

📦 Install Globally

npm install -g purify-code

Usage

purify-code ./your-folder

Example

purify-code ./src
  • Cleans .js and .ts files recursively
  • Useful before production or committing code

🔒 Safe

Does not minify or rewrite logic — just removes obvious debug stuff.

🧑‍💻 Author

Built with ❤️ by Manindra Bollam(manindra810@gmail.com)

Package Sidebar

Install

npm i purify-code

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

3.01 kB

Total Files

4

Last publish

Collaborators

  • manindra-bollam