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.
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.
- peers Oxc parser downloads: Oxc grew from 5M to 403M with TypeScript support.
- github.com/meriyah/meriyah: No TypeScript support.
- github.com/meriyah/meriyah/releases: Active, frequent releases.
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.
- github.com/meriyah/meriyah/blob/v7.4.3/README.md: Documents the scope and API of the current stable parser.
- babeljs.io/docs/babel-parser: Babel parser supports JavaScript, JSX, TypeScript, Flow, and error recovery.
- oxc.rs/docs/guide/usage/parser.html: Oxc offers JavaScript and TypeScript parsing with Node bindings.
- github.com/facebook/jscodeshift: jscodeshift runs codemods across files and uses Recast to preserve source style.
- github releasesLastYear, dependents, peers: Regular releases alongside a substantially smaller visible dependent base than Acorn or Babel parser.
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.
- github.com/meriyah/meriyah/blob/v7.4.3/README.md: Documents JavaScript and JSX syntax coverage and excludes TypeScript and Flow.
- 2025.stateofjs.com/en-US/usage: Shows that TypeScript accounts for much of the code survey respondents write.
- reddit.com/r/learnjavascript/comments/1l0w3iv/please_recommend_a_javascript_parser_out_of_8: A developer dropped Meriyah from consideration because their project needed TypeScript syntax.
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.
- github.com/prantlf/ecmascript-parser-benchmark: Meriyah posts the most operations per second of the pure-JavaScript parsers, ahead of Acorn and Babel.
- github.com/meriyah/meriyah: Targets ES2024 with JSX and the `next` option; no TypeScript or Flow; comments come only through `onComment`.
- github.com/meriyah/meriyah/releases: Many recent releases fix correctness and early errors.
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.
- github.com/meriyah/meriyah/blob/v7.4.3/README.md: Documents the parser API, syntax options, error interface, and external comment attachment.
- github.com/prantlf/ecmascript-parser-benchmark: Reports higher throughput than Acorn and Babel on two JavaScript samples, including runs with locations.
- raw.githubusercontent.com/prantlf/ecmascript-parser-benchmark/master/package.json: The benchmark specifies Meriyah 6.1.4 or a compatible 6.x version.
- github.com/meriyah/meriyah/issues/199: Users reported friction with external ESTree typings. The project later added node assignability tests.
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.
- github commitsLastYear, releasesLastYear, openIssues, openPullRequests: 179 commits, 13 releases, six open issues, and one open pull request at collection.
- github.com/meriyah/meriyah/issues/700: A November 7 parser report was fixed and released in 7.4.2 on November 8.
- github.com/meriyah/meriyah/releases/tag/v7.4.3: November 20 release fixed multiple JavaScript and JSX edge cases.
- github.com/meriyah/meriyah/actions/workflows/publish.yml: Two accounts triggered publish runs, with one triggering the 11 most recent.
- github.com/meriyah/meriyah/releases/tag/v7.0.0: Version 7 dropped Node.js versions below 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.
- github.com/prantlf/ecmascript-parser-benchmark: Independent speed benchmark.
- github-redirect.dependabot.com/benjamn/recast/pull/1105: Recast added a Meriyah parser option; a reviewer called it faster than Acorn and Esprima.
- redirect.github.com/NodeSecure/js-x-ray/pull/301: A security tool depends on Meriyah.
- Prettier parser list: Prettier offers a meriyah parser.
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.
- github.com/yt-dlp/ejs/blob/main/package.json: yt-dlp's JavaScript support project pins Meriyah 6.1.4.
- github.com/LuanRT/YouTube.js/blob/main/package.json: YouTube.js declares Meriyah 7 as a runtime dependency.
- plrg.korea.ac.kr/assets/data/publication/tosem26-park-pog.pdf: The Debun study used Meriyah to parse JavaScript collected from real websites.
- github.com/prantlf/ecmascript-parser-benchmark: Independent benchmark reports strong throughput for Meriyah on its JavaScript samples.
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.
- npm dependencies, npm license, advisories total: Zero runtime dependencies, ISC license, and zero recorded OSV advisories.
- scorecard score, scorecard checks: 5.3 overall, strong code review, and zero scores for token permissions, pinning, fuzzing, and security policy.
- raw.githubusercontent.com/meriyah/meriyah/v7.4.3/.github/workflows/publish.yml: Tag-triggered npm publication with OIDC permissions and actions referenced by major version tags.
- github.com/meriyah/meriyah/actions/workflows/publish.yml: Two accounts triggered visible publish runs.
- github.com/meriyah/meriyah/security: GitHub reports no security policy and no published repository advisories.
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
- 8.0Babel parser
- 7.8Oxc parser
- 7.5ast-grep
- 7.1Acorn
- 7.1Recast
- 7.0ts-morph
- 6.4jscodeshift
- 6.3Meriyah
- 2.4Esprima