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.
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.
| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
|---|---|---|---|---|---|---|
| Babel parser | 1.5B | ×3.8 | 44k | 618 | Nov 2026 | 0 |
| Oxc parser | 403M | ×80 | 24k | 9.1k | Nov 2026 | 0 |
| ast-grep | 23M | ×8.9 | 17k | 698 | Nov 2026 | 0 |
| Acorn | 1.3B | ×2.7 | 11k | 49 | Oct 2026 | 0 |
| Recast | 240M | ×3.7 | 5.3k | 81 | Nov 2026 | 0 |
| ts-morph | 174M | ×6.7 | 6.2k | 18 | Apr 2026 | 0 |
| jscodeshift | 32M | +47% | 10k | 15 | Jul 2026 | 0 |
| Meriyah | 50M | ×24 | 1.2k | 179 | Nov 2026 | 0 |
| Esprima | 608M | ×2.3 | 7.1k | 0 | Jul 2018 | 0 |