rocambole-strip-alert
Strip alert statements from a rocambole AST
Install
npm install --save rocambole-strip-alert
Example
var rocambole = ;var stripAlert = ; rocambole;//=> if (true) { void 0; }
To prevent any side-effects, alert
is replaced with void 0
instead of being removed.
License
MIT © Patrick Williams