This package has been deprecated

Author message:

The Rocambole project is no longer maintained.

rocambole-strip-debugger

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i rocambole-strip-debugger

Weekly Downloads

37,570

Version

2.0.0

License

MIT

Unpacked Size

2.68 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus