# Meriyah: 6.3 out of 10

Reasonable, with limits. 8th of 9 in [JavaScript parsers and codemods](https://elestia.ai/opensource/parsers/index.md).

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.

## Scores

- **Overall: 6.3** (likely 5.2 to 7.3)
  - Claude Opus 5.5 (5.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): 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 many: 3.4** (likely 2.4 to 4.5)
  - Claude Opus 5.5 (3.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.
  - GPT-6.2 Sol (3.8): 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 lot: 6.7** (likely 5.6 to 7.7)
  - Claude Opus 5.5 (6.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): 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 time: 6.9** (likely 5.5 to 8.2)
  - Claude Opus 5.5 (6.5): 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.
  - GPT-6.2 Sol (7.2): 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 widely: 4.5** (likely 3.1 to 5.9)
  - Claude Opus 5.5 (4.5): 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.
  - GPT-6.2 Sol (4.4): 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.
- **Vouched for: 5.5** (likely 4.2 to 6.9)
  - Claude Opus 5.5 (4.5): 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): 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.
- **Safe: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (8.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.
  - GPT-6.2 Sol (7.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

- Downloads, 4 weeks: 50M
- In a year: ×24
- GitHub stars: 1.2k
- Commits, 12 months: 179
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: ISC
- GitHub: https://github.com/meriyah/meriyah
- npm: https://www.npmjs.com/package/meriyah

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
