Want to see pretty graphs? Log in now!
npm install vannotate
|5||downloads in the last week|
|50||downloads in the last month|
|Last Published By|
|Version||0.1.4 last updated 23 days ago|
|Dependencies (10)||esprima, escodegen, express, underscore, phantom, mkdirp, promised-io, handlebars, escape-html, argparse|
sudo npm install -g vannotate
(Or download the Github repo and run node lib/vAnnotate.)
This will make the current working directory accessible at http://localhost:7000.
In there you can open the static html file. vAnnotate will collect the annotation data and the annotated code is made available at http://localhost:7000/vAnnotate/results.
Additional command-line options
vAnnotate --port 1234
Change port where static files are served.
How it works
- Logging assignments to member expressions can currently have side effects. For example if you run
a[fn()] = bfn will be called twice - once for the assignment and once for the logging call. To fix this we need to move the object properties to separate variables before doing the assignment and the logging.