Package: wnpp Severity: wishlist Owner: Shirish Togarla <shirishtogarla...@gmail.com> X-Debbugs-CC: debian-devel@lists.debian.org
* Package name : node-astw Version : 2.0.0 Upstream Author : James Halliday <m...@substack.net> (http://substack.net) * URL : https://github.com/substack/astw * License : Expat Programming Lang: JavaScript Description : walk the ast with references to parent nodes This module is a faster version of [falafel](https://github.com/substack/node-falafel) that only does ast walking and `.parent` tracking, not source transforms. # example var astw = require('astw'); var deparse = require('escodegen').generate; var walk = astw('4 + beep(5 * 2)'); walk(function (node) { var src = deparse(node); console.log(node.type + ' :: ' + JSON.stringify(src)); });