Elestia Open Source Ratings
6.3

Meriyah

Reasonable, with limits. 8th of 9 JavaScript parsers and codemods.

Meriyah is a fast, spec-compliant JavaScript parser written in JavaScript. It outputs ESTree trees, supports JSX and has zero dependencies, but it cannot parse TypeScript or Flow. It is a good pick when you need to parse plain JavaScript quickly. For TypeScript, or for a parser that comes with codemod tooling, Oxc, Babel or the tools built on them fit better.

Best for: Tool authors who need a fast, zero-dependency ESTree parser for plain JavaScript or JSX, with no TypeScript.

GitHubnpm

Scores

Overall6.3

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

It is a well-maintained, very fast and safe ESTree parser for plain JavaScript. It lacks TypeScript support, plugins and a printer. That makes it a narrow pick next to Oxc, which is faster and parses TypeScript, and Babel, which is more complete. Choose it when a zero-dependency JavaScript-only parser fits the job.

GPT-6.2 Sol: 7.0, likely 5.9 to 8.1

Meriyah is a strong pick for JavaScript and JSX tools that want fast ESTree parsing with no runtime dependencies. Babel parser and Oxc cover mixed JavaScript and TypeScript inputs, and jscodeshift with Recast provides a fuller workflow for source-preserving edits. Active maintenance supports a new dependency choice, with uncertainty around release ownership and how much of the download growth reflects direct adoption.

Needed by many3.4

How many developers need a tool for this job?

Claude Opus 5.5: 3.0, likely 2.0 to 4.0

Mostly people who build tools need a raw JavaScript parser. Few application developers call one directly. Because Meriyah does not handle TypeScript, it covers a narrower slice of the category than Babel or Oxc.

  • github.com/meriyah/meriyah: The README says it does not support TypeScript or Flow.
  • category scope: Parsers are mainly used by tool authors.

GPT-6.2 Sol: 3.8, likely 2.8 to 5.0

Direct parser selection is mainly a job for people building analysis tools, instrumenters, or codemods. Meriyah covers JavaScript and JSX across several environments, and its lack of TypeScript syntax support narrows that audience. The survey shows how common TypeScript is among respondents and leaves the size of the parser-buying audience uncertain.

Helps a lot6.7

How well does it do the job for those who need it?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

It is fast, closely follows the spec, and has tight early-error checks and recent ECMAScript proposals. It cannot parse TypeScript, has no plugins, and leaves comment attachment to you. Oxc is faster and handles TypeScript, and Babel is more complete.

GPT-6.2 Sol: 7.3, likely 6.2 to 8.4

Version 7.4.3 has a small, documented API, typed ESTree output, and optional source locations, comments, and tokens. An independent benchmark found higher throughput than Acorn and Babel on its JavaScript samples using Meriyah 6. TypeScript syntax and code rewriting are outside its scope, and current performance across larger workloads and coding-agent accuracy remain uncertain.

Holds up over time6.9

Will it still be a good choice in two years?

Claude Opus 5.5: 6.5, likely 5.0 to 8.0

Activity is high: 179 commits and 13 releases in the past year, only 6 open issues, and 39 contributors. All the recent releases visible on GitHub were published by one person, and there is no known funding. Releases sometimes reject code that was accepted before, but that comes from following the spec more closely.

  • github commitsLastYear / releasesLastYear: 179 commits and 13 releases in the past year.
  • github openIssues: 6 open issues against 233 closed.
  • github.com/meriyah/meriyah/releases: All recent releases were published by 3cp.

GPT-6.2 Sol: 7.2, likely 5.9 to 8.4

Meriyah shipped 13 releases and recorded 179 commits in the past year. A reported template-literal bug was fixed and released the next day, and 7.4.3 continued to fix syntax edge cases. One maintainer triggered 11 of the 12 visible publish runs, funding is unclear, and version 7 raised the Node.js minimum to 20.

Used widely4.5

How many use it, and is that growing?

Claude Opus 5.5: 4.5, likely 3.0 to 6.0

Downloads rose from 2.1M to 50M per four weeks, a ratio of about 24 against the median of 4.1. A jump that large most likely comes from a popular package installing it, not from direct choices. About 1,950 dependent repositories is small next to Acorn's 1.1M or Recast's 477K. Social attention is minimal: no Hacker News stories and 2 Bluesky posts.

  • npm downloadsLast4Weeks: 50.3M now against 2.1M a year earlier.
  • dependents: 1,950 repositories and 120 packages.
  • bluesky posts: 2 posts.
  • data.code.gouv.fr/usage/npm/meriyah: The usage tracker lists 120 dependent packages.

GPT-6.2 Sol: 4.4, likely 3.1 to 5.8

Four-week downloads rose from 2.12 million to 50.34 million, about 23.7 times the year-earlier count against a 4.1 times catalog median. With 1,950 indexed repositories and 120 indexed packages, Meriyah has a much smaller visible footprint than Acorn and Babel parser. Sentry is a documented source of transitive installs, and sparse public discussion leaves the growth in direct adoption uncertain.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: The 23.7 times download ratio is well above the 4.1 times catalog median.
  • dependents repos, dependents packages, peers, github stars, bluesky posts, hackerNews stories: 1,950 indexed repos, 120 indexed packages, 1,224 stars, two Bluesky links, and no matched HN stories.
  • github.com/getsentry/sentry-javascript/issues/23611: A Sentry user documented Meriyah installs through the Node SDK dependency chain.
Vouched for5.5

Who stands behind it being good?

Claude Opus 5.5: 4.5, likely 3.0 to 6.0

Independent benchmarks confirm its speed. Prettier ships Meriyah as one of its parsers, and Recast added support for it. NodeSecure js-x-ray depends on it. There is no survey presence and there are few user write-ups.

GPT-6.2 Sol: 6.5, likely 5.3 to 7.7

The yt-dlp JavaScript support project and YouTube.js both depend on Meriyah, and Debun researchers used it to analyze real-world bundles. The independent throughput comparison adds evidence for JavaScript parsing. Some of that evidence is on version 6, and there is little project-specific survey evidence on satisfaction or retention.

Safe7.8

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It has zero runtime dependencies, an ISC licence and no advisories ever recorded. The OpenSSF Scorecard is 5.3: it is weak on token permissions, pinned dependencies, security policy and fuzzing. One person publishing all releases is a single point of failure.

  • npm dependencies: Zero dependencies.
  • advisories total: No advisories.
  • scorecard score: 5.3, with zeros on Security-Policy, Token-Permissions and Pinned-Dependencies.

GPT-6.2 Sol: 7.6, likely 6.3 to 8.6

Zero runtime dependencies, a permissive ISC license, and no recorded OSV advisories keep the known dependency risk low. GitHub Actions publishes from version tags, and two accounts have triggered visible publish runs. Unpinned workflow actions, no published security policy, and weak Scorecard results for token permissions and fuzzing leave gaps in assurance.

Good

  • Independent benchmarks put it among the fastest pure-JavaScript parsers, often about twice as fast as Acorn.
  • It has zero dependencies, an ISC licence and no known advisories.
  • It is very actively maintained: 13 releases in the past year added new syntax such as `using`, `import defer` and Unicode 18, along with many strictness fixes.
  • It outputs standard ESTree with JSX and location tracking, so it works with the existing ESTree tooling.

Bad

  • It cannot parse TypeScript or Flow syntax, which rules it out for most TypeScript codebases.
  • Comments are not part of the tree, and you must attach them yourself through `onComment`.
  • It has no plugin system and no printer, so codemods need Recast or another tool alongside it.
  • All recent releases were published by one maintainer, and there is no security policy.

The numbers

npm downloads, 4 weeks
50M ×24 in a year
GitHub stars
1.2k
Commits, 12 months
179
npm version
7.4.3 Nov 2026
Versions, 12 months
13
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
5.3 out of 10, Nov 2026
Licence
ISC

Read on 21 November 2026 from GitHub (meriyah/meriyah), npm (meriyah), OSV and the OpenSSF Scorecard.

JavaScript parsers and codemods

  1. 8.0Babel parser
  2. 7.8Oxc parser
  3. 7.5ast-grep
  4. 7.1Acorn
  5. 7.1Recast
  6. 7.0ts-morph
  7. 6.4jscodeshift
  8. 6.3Meriyah
  9. 2.4Esprima
Compare all 9 on six scores