[Pkg-javascript-commits] [node-astw] 04/04: Added description in control file

Shirish Togarla shirish12-guest at moszumanska.debian.org
Tue Feb 7 20:24:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

shirish12-guest pushed a commit to branch master
in repository node-astw.

commit 67484d384196a1a26c4f84559662071df9ad5c50
Author: Shirish Togarla <shirishtogarla533 at gmail.com>
Date:   Tue Feb 7 20:22:34 2017 +0000

    Added description in control file
---
 debian/control | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index d4d7a39..ebd0844 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,16 @@ Depends:
  , nodejs
  , acorn (>= 1.0.3)
 Description: walk the ast with references to parent nodes
- FIX_ME long description
+ 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));
+ });
  .
  Node.js is an event-based server-side JavaScript engine.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-astw.git



More information about the Pkg-javascript-commits mailing list