# @babel/parser

> A JavaScript parser

Latest version **8.0.5** (published 2026-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @babel/parser
pnpm add @babel/parser
yarn add @babel/parser
bun add @babel/parser
```

Provides the commands `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`.

## Health

**Score 73/100 (B)** — status: active.

Positive: has types package; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 8.0.5 |
| Published | 2026-09-10 |
| First published | 2018-05-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/babel__parser) |
| Module format | ESM + CommonJS |
| Node | ^22.18.0 \|\| >=24.11.0 |
| Dependencies | 1 |
| Unpacked size | 1.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 43991 |
| Author | The Babel Team (https://babel.dev/team) |
| Maintainers | hzoo, existentialism, nicolo-ribaudo, jlhwung |
| Keywords | babel, javascript, parser, tc39, ecmascript, @babel/parser |

## Links

- npm: https://www.npmjs.com/package/@babel/parser
- Repository: https://github.com/babel/babel
- Homepage: https://babel.dev/docs/en/next/babel-parser
- Issues: https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A+parser+%28babylon%29%22+is%3Aopen
- npm.io page: https://npm.io/package/@babel/parser

## Dependencies (1)

- [@babel/types](https://npm.io/package/@babel/types.md) ^8.0.5

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 8.0.5 (latest) — 2026-09-10
- 8.0.0-rc.6 (next) — 2026-05-25
- 7.21.4-esm.4 (esm) — 2023-04-04
- 7.29.8 — 2026-07-31
- 8.0.4 — 2026-07-09
- 8.0.0 — 2026-06-16
- 7.29.7 — 2026-05-25
- 8.0.0-rc.5 — 2026-05-12
- 7.29.3 — 2026-04-30
- 8.0.0-rc.4 — 2026-04-29
- 7.29.2 — 2026-03-16
- 8.0.0-rc.3 — 2026-03-16
- 8.0.0-rc.2 — 2026-02-15
- 8.0.0-rc.1 — 2026-01-31
- 7.29.0 — 2026-01-31
- … 237 more at https://npm.io/package/@babel/parser/versions

## README

# @babel/parser

> A JavaScript parser

See our website [@babel/parser](https://babeljs.io/docs/babel-parser) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20parser%22+is%3Aopen) associated with this package.

## Install

Using npm:

```sh
npm install --save-dev @babel/parser
```

or using yarn:

```sh
yarn add @babel/parser --dev
```

---
_Source: https://npm.io/package/@babel/parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
