This package has been deprecated
Author message:
The Rocambole project is no longer maintained.
rocambole-node-remove
3.0.0 • Public • Published Deprecated
The Rocambole project is no longer maintained.
rocambole-node-remove
Remove a rocambole AST node
Install
$ npm install rocambole-node-remove
Usage
const rocambole = require('rocambole');
const removeNode = require('rocambole-node-remove');
rocambole.moonwalk('if (true) { foo() }', node => {
if (node.type === 'CallExpression') {
removeNode(node);
}
}).toString();
License
MIT © Sindre Sorhus
Package Sidebar
Install
npm i rocambole-node-remove
Weekly Downloads