Elestia Open Source Ratings

JavaScript parsers and codemods

Read JavaScript and TypeScript code as a tree, and change it with code. We rate 9; Babel parser leads with 8.0 out of 10.

8.0Babel parserAuthors of codemods, build plugins and dev tools who want the widest syntax support and a mature JavaScript-native AST toolkit.4.48.47.48.18.18.1
7.8Oxc parserBuild tools, linters and analysis scripts that need to parse lots of JS/TS fast into an ESTree-shaped tree.4.77.88.46.28.18.2
7.5ast-grepTeams and coding agents that want fast, pattern-based search, lint rules and rewrites across large or multi-language codebases.4.87.67.34.76.87.7
7.1AcornTool authors who need a light, dependency-free ESTree parser for plain JavaScript that runs anywhere JS runs.4.47.27.27.48.07.6
7.1RecastAuthors of codemod frameworks, CLIs and build plugins who must edit users' source files and keep their formatting and comments.4.37.16.56.77.27.4
7.0ts-morphDevelopers writing type-aware TypeScript refactors, code generators or analysis tools that need symbols, references and types, not just syntax.4.17.95.55.76.56.5
6.4jscodeshiftTeams writing syntax-level migration codemods in JavaScript that need small, format-preserving diffs and want a mature, well-documented pattern.4.26.95.06.27.07.0
6.3MeriyahTool authors who need a fast, zero-dependency ESTree parser for plain JavaScript or JSX, with no TypeScript.3.46.76.94.55.57.8
2.4EsprimaOnly legacy codebases that already depend on it and parse code no newer than ES2017.3.13.01.25.23.45.5

The numbers

Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.

ProjectDownloads, 4 weeksIn a yearGitHub starsCommits, 12 monthsLast npm releaseAdvisories, 24 months
Babel parser1.5B×3.844k618Nov 20260
Oxc parser403M×8024k9.1kNov 20260
ast-grep23M×8.917k698Nov 20260
Acorn1.3B×2.711k49Oct 20260
Recast240M×3.75.3k81Nov 20260
ts-morph174M×6.76.2k18Apr 20260
jscodeshift32M+47%10k15Jul 20260
Meriyah50M×241.2k179Nov 20260
Esprima608M×2.37.1k0Jul 20180