Esprima Alternatives

Esprima is described as 'High performance, standard-compliant ECMAScript parser written in ECMAScript (also popularly known as JavaScript). Esprima can be used to perform lexical analysis (tokenization) or syntactic analysis (parsing) of a JavaScript program' and is an app in the development category. There are three alternatives to Esprima for Self-Hosted. The best Esprima alternative is Meriyah, which is both free and Open Source. Other great apps like Esprima are AcornJS and Espree.

Copy a direct link to this comment to your clipboard
Esprima alternatives page was last updated

Alternatives list

  1. Meriyah icon
     Like

    A 100% compliant, self-hosted JavaScript parser. Meriyah generates AST according to ESTree AST format, and can be used to perform syntactic analysis (parsing) of a JavaScript program, and with ES2015 and later a JavaScript program can be either a script or a module.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Self-Hosted
     
  2. AcornJS icon
     Like

    Acorn is a tiny, fast JavaScript parser, written completely in JavaScript. Acorn is designed to support plugins which can, within reasonable bounds, redefine the way the parser works. Plugins can add new token types and new tokenizer contexts (if necessary), and extend methods...

    Cost / License

    • Free
    • Open Source (MIT)

    Platforms

    • Self-Hosted
     
  3. Espree icon
     Like

    An Esprima-compatible JavaScript parser originally forked from Esprima, now built on top of AcornJS, which has a modular architecture that allows extension of core functionality.

    Cost / License

    Platforms

    • Self-Hosted
     
3 of 3 Esprima alternatives