Skip to content
M

Meriyah

A 100% compliant, self-hosted javascript parser

by meriyahFree

#1846in Developer Tools
0In stores

Description

Meriyah is a JavaScript parser focused on performance and stability. It reads JavaScript source and produces an ESTree-compatible abstract s…

Highlights

  • ESTree-compatible AST output
  • ECMAScript 2024 with Annex B browser features
  • JSX support and stage 3 proposals through options
  • Location, comment and token tracking
  • No backtracking and low memory use

Ratings & Reviews

No ratings yet

Be the first to rate Meriyah.

People also visit

B

Babel

Write code once, run on multiple platforms

Developer Tools
Launch
S

Sucrase

Super-fast alternative to Babel for when you can target modern JS runtimes

Utilities
Launch
E

esbuild

An extremely fast JavaScript bundler and minifier

Developer Tools
Launch
J

javascript-pro

Writes, debugs, and refactors JavaScript code

AI Skills
Get
K

kangax-js-compat-table

Check JavaScript versions

Utilities
Launch
C

Code to Graph

Visualize JavaScript code as a network diagram

Developer Tools
Launch

Meriyah FAQ

What is Meriyah?

A JavaScript parser that turns source code into an ESTree-compatible syntax tree for analysis and tooling.

Does it support TypeScript?

No. Meriyah does not support TypeScript or Flow syntax.

Can it parse JSX?

Yes, with the jsx option.

What about newer language features?

Stage 3 features including decorators, source phase imports and deferring module evaluation are supported when the next option is enabled.

How are regular expressions checked?

By default the JavaScript runtime validates regex literals, so newer RegExp features depend on the runtime. The README notes that some latest features require Node.js 24 or later as of May 2025. Set validateRegex to false for consistent behaviour across environments.

What are the best Meriyah alternatives?

Popular alternatives to Meriyah include Babel, esbuild and Code to Graph. See all Meriyah alternatives

Developer Stuff

Badges