esparse (1) - Linux Manuals

esparse: ECMAScript Parser using Esprima


esparse - ECMAScript Parser using Esprima



esparse [options] file.js

Available options:

Gather all line and block comments in an array
Include line-column location info for each syntax node
Include index-based range for each syntax node
Display the raw value of literals
List all tokens in an array
Tolerate errors on a best-effort basis (experimental)
-v, --version
Shows program version