# babel-plugin-syntax-hermes-parser

> Babel plugin which switches Babel to use the Hermes parser.

Latest version **0.37.0** (published 2026-07-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-syntax-hermes-parser
pnpm add babel-plugin-syntax-hermes-parser
yarn add babel-plugin-syntax-hermes-parser
bun add babel-plugin-syntax-hermes-parser
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.37.0 |
| Published | 2026-07-14 |
| First published | 2023-06-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11301 |
| Maintainers | hermes-team |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-syntax-hermes-parser
- Repository: https://github.com/facebook/hermes
- npm.io page: https://npm.io/package/babel-plugin-syntax-hermes-parser

## Dependencies (1)

- [hermes-parser](https://npm.io/package/hermes-parser.md) 0.37.0

## Recent versions

- 0.37.0 (latest) — 2026-07-14
- 0.36.1 — 2026-05-06
- 0.36.0 — 2026-04-28
- 0.35.0 — 2026-04-09
- 0.34.0 — 2026-03-13
- 0.33.3 — 2026-01-07
- 0.33.2 — 2025-12-29
- 0.33.1 — 2025-12-21
- 0.33.0 — 2025-12-12
- 0.32.1 — 2025-09-22
- 0.32.0 — 2025-08-20
- 0.31.2 — 2025-08-16
- 0.31.0 — 2025-07-30
- 0.30.0 — 2025-07-24
- 0.29.1 — 2025-06-27
- … 29 more at https://npm.io/package/babel-plugin-syntax-hermes-parser/versions

## README

# babel-plugin-syntax-hermes-parser

Hermes parser plugin for [Babel](https://babeljs.io/). This plugin switches Babel to use `hermes-parser` instead of the `@babel/parser`. Since Hermes parser uses C++ compiled to WASM it is significantly faster and provides full syntax support for Flow.

## Install

Using npm:

```sh
npm install --save-dev babel-plugin-syntax-hermes-parser
```

or using yarn:

```sh
yarn add babel-plugin-syntax-hermes-parser --dev
```

# Usage

The plugin can be enabled via:

```
// babel.config.json
{
  "plugins": ["babel-plugin-syntax-hermes-parser"]
}
```

If parser options need to be provide you can do so via the `parserOpts` config:

```
// babel.config.json
{
  "plugins": ["babel-plugin-syntax-hermes-parser"],
  "parserOpts": {
    "allowReturnOutsideFunction": true
  }
}
```

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