---
name: "esparse"
section: "1"
platform: "linux"
package: "node-esprima"
version: "4.0.1+ds+~4.0.3-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/esparse"
---

# esparse(1)

ECMAScript Parser using Esprima

## NAME

esparse - ECMAScript Parser using Esprima

## DESCRIPTION

### 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
