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.
Just running npm install -g remove-console-logs
should work.
See remove-console-logs --help
.