Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 506 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 506 Bytes

What?

This is just a small tool which parses your JS and replaces any console.* calls with 0. It uses falafel to walk the AST. Falafel uses acorn to parse your JS. Finally, yargs is used for cli argument parsing.

How do I get it?

Just running npm install -g remove-console-logs should work.

How do I use it?

See remove-console-logs --help.