2.0.0 • Published 5 years ago

rocambole-strip-debugger v2.0.0

Weekly downloads
9,851
License
MIT
Repository
github
Last release
5 years ago

Deprecated

The Rocambole project is no longer maintained.


rocambole-strip-debugger Build Status

Strip debugger statements from a rocambole AST

Install

$ npm install rocambole-strip-debugger

Usage

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

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

License

MIT © Sindre Sorhus