reduce-args
Remove function calls or strip arguments in javascript code. Useful for removing debug messages in a production build. The next step after using this small tool, would be to compress the code with something like UglifyJS.
Uses Recast for parsing the code.
Example
;
...becomes...
;
Usage
var reduceArgs = ; var min = ; console;
See the tests
for more details.
Install
npm install reduce-args