Skip to content
ECMAScript parsing infrastructure for multipurpose analysis
TypeScript JavaScript HTML
Pull request Compare This branch is even with jquery:master.
Latest commit 712e107 @ariya Fix out-of-bound error location in an invalid string literal
When a string literal is not valid, mark the initial quote as the error
location since it is considered the offending (illegal) token.

Fixes #1457
Closes gh-1462

NPM version npm download Build Status Coverage Status

Esprima (, BSD license) is a high performance, standard-compliant ECMAScript parser written in ECMAScript (also popularly known as JavaScript). Esprima is created and maintained by Ariya Hidayat, with the help of many contributors.


Esprima serves as a building block for some JavaScript language tools, from code instrumentation to editor autocompletion.

Esprima runs on many popular web browsers, as well as other ECMAScript platforms such as Rhino, Nashorn, and Node.js.

For more information, check the web site

Something went wrong with that request. Please try again.