Skip to content

gijsk/remove-console-logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Because sed is messy: remove console logs the AST way.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published