rocambole-strip-debugger

Strip debugger statements from a rocambole AST

npm install rocambole-strip-debugger
39 downloads in the last day
234 downloads in the last week
1 051 downloads in the last month

rocambole-strip-debugger Build Status

Strip debugger statements from a rocambole AST

Install

npm install --save rocambole-strip-debugger

Example

var rocambole = require('rocambole');
var stripDebugger = require('rocambole-strip-debugger');

rocambole.moonwalk('if (true) { debugger; }', function (node) {
    stripDebugger(node);
}).toString();
//=> if (true) {  }

License

MIT © Sindre Sorhus

npm loves you