Esprima (version 1.1.1-dev-harmony) is a high-performance, standard-compliant ECMAScript parser written in JavaScript. It supports full ES5.1 and experimental ES6/Harmony features (modules, classes, destructuring). Runs in browsers (IE6+) and Node.js (>=0.4.0). Known for being up to 3x faster than UglifyJS v1. This is an unofficial fork with the '-harmony' suffix, indicating pre-release support for ES6. Note: this package may be considered obsolete compared to mainline esprima releases.
npm install esprima-six-jpikeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows parsing and tokenizing JavaScript code, including experimental ES6/Harmony syntax using the fork.
Switch to 'esprima' latest stable version (e.g., 4.0.1).
For production ES6 parsing, use a dedicated ES6 parser like 'acorn' with the 'ecmaVersion' option.
Use a recent Node LTS version (e.g., 14.x or later) and test thoroughly, or migrate to a maintained parser.
Run in a browser or use a shim like 'global.window = global;' in Node.js.
Use named import: import { parse } from 'esprima-six-jpike'.Use the 'ecmaVersion' option in a modern parser like 'acorn', or rewrite to ES5.1.
No dependency data recorded yet.