ast-traverse : simple but flexible AST traversal with pre and post visitors. You can installing ast-traverse npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install ast-traverse $ sudo npm install -g ast-traverse
If want to update the ast-traverse package execute the command as below,
$ sudo npm update ast-traverse
Update package globally,
$ npm install -g ast-traverse
$ sudo git clone https://github.com/rektide/ast-traverse.git
$ sudo npm install -g ./ast-traverse
ast-traverse@0.1.1 /usr/lib/node_modules/ast-traverse
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall ast-traverse
Package Name | ast-traverse |
Version | 0.1.1 |
Description | simple but flexible AST traversal with pre and post visitors |
Released Date | 2013-09-20T20:57:48.445Z |
Published by | olov |
How to Learn | https://www.npmjs.com/package/ast-traverse/tutorial |