esparse(1)

esparse1

Ecmascript parser using esprima

Overview

Usage:

esparse [options] file.js

Available options:

--comment

Gather all line and block comments in an array

--loc

Include line-column location info for each syntax node

--range

Include index-based range for each syntax node

--raw

Display the raw value of literals

--tokens

List all tokens in an array

--tolerant

Tolerate errors on a best-effort basis (experimental)

-v, --version

Shows program version

Releases

Unchanged in 5 releases since Debian 9 (Stretch).

  1. 9–13

From node-esprima 4.0.1+ds+~4.0.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.