# pegjs

> Parser generator for JavaScript

Latest version **0.10.0** (published 2016-08-19) · MIT license · 646.2K weekly downloads

## Install

```sh
npm install pegjs
pnpm add pegjs
yarn add pegjs
bun add pegjs
```

Provides the command `pegjs`.

## Health

**Score 38/100 (D)** — status: abandoned.

Positive: moderate downloads; has types package; no vulnerabilities; high quality score.

Warnings: no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.10.0 |
| Published | 2016-08-19 |
| First published | 2011-04-14 |
| Weekly downloads | 646.2K |
| License | MIT |
| TypeScript types | separate (@types/pegjs) |
| Module format | CommonJS |
| Node | >=0.10 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4903 |
| Author | David Majda |
| Maintainers | dmajda |
| Keywords | parser generator, PEG |

## Links

- npm: https://www.npmjs.com/package/pegjs
- Repository: https://github.com/pegjs/pegjs
- Homepage: http://pegjs.org/
- Issues: https://github.com/pegjs/pegjs/issues
- npm.io page: https://npm.io/package/pegjs

## Recent versions

- 0.10.0 (latest) — 2016-08-19
- 0.11.0-master.b7b87ea (dev) — 2019-11-16
- 0.11.0-master.9360abb — 2019-09-29
- 0.11.0-master.0b102d2 — 2019-07-24
- 0.11.0-master.30f3260 — 2019-03-20
- 0.11.0-master.85dbe5a — 2019-02-19
- 0.11.0-master.53b9662 — 2019-02-15
- 0.11.0-master.e829945 — 2019-02-15
- 0.11.0-master.f69239d — 2019-02-15
- 0.11.0-dev.325 — 2018-09-18
- 0.11.0-dev.273 — 2018-03-23
- 0.11.0-dev.225 — 2018-01-18
- 0.11.0-dev.224 — 2018-01-18
- 0.11.0-dev.200 — 2017-12-28
- 0.11.0-dev.187 — 2017-12-18
- … 6 more at https://npm.io/package/pegjs/versions

## README

![GitHub Actions](https://github.com/pegjs/pegjs/workflows/Github%20Actions/badge.svg)
[![Codecov](https://codecov.io/gh/pegjs/pegjs/branch/master/graph/badge.svg)](https://codecov.io/gh/pegjs/pegjs)
[![CodeFactor](https://www.codefactor.io/repository/github/pegjs/pegjs/badge)](https://www.codefactor.io/repository/github/pegjs/pegjs)
[![license](https://img.shields.io/badge/license-mit-blue.svg)](https://opensource.org/licenses/MIT)

PEG.js is a simple parser generator for JavaScript that produces fast parsers with excellent error reporting. You can use it to process complex data or computer languages and build transformers, interpreters, compilers and other tools easily.

> PEG.js is still very much work in progress. There are no compatibility guarantees until version 1.0

### public packages

| package | version | dependency status |
| ------- | ------- | ----------------- |
| [pegjs][P001] | [![release][P002]][P003] [![dev][P004]][P005] | [![dependencies][P006]][P007] |

### local packages

| package | dependency status |
| ------- | ----------------- |
| [~/][L013] | [![dependencies][L014]][L015] |
| [~/test][L001] | [![dependencies][L002]][L003] |
| [~/tools/benchmark][L004] | [![dependencies][L005]][L006] |
| [~/tools/bundler][L007] | [![dependencies][L008]][L009] |
| [~/tools/impact][L010] | [![dependencies][L011]][L012] |
| [~/tools/publish-dev][L016] | [![dependencies][L017]][L018] |

<!-- packages/pegjs -->
[P001]: https://github.com/pegjs/pegjs/tree/master/packages/pegjs
[P002]: https://img.shields.io/npm/v/pegjs.svg
[P003]: https://www.npmjs.com/package/pegjs
[P004]: https://img.shields.io/npm/v/pegjs/dev.svg
[P005]: https://github.com/pegjs/pegjs
[P006]: https://img.shields.io/david/pegjs/pegjs.svg?path=packages/pegjs
[P007]: https://david-dm.org/pegjs/pegjs?path=packages/pegjs

<!-- https://github.com/pegjs/pegjs/ -->
[L013]: https://github.com/pegjs/pegjs/tree/master/
[L014]: https://img.shields.io/david/pegjs/pegjs.svg
[L015]: https://david-dm.org/pegjs/pegjs

<!-- test -->
[L001]: https://github.com/pegjs/pegjs/tree/master/test
[L002]: https://img.shields.io/david/pegjs/pegjs.svg?path=test
[L003]: https://david-dm.org/pegjs/pegjs?path=test

<!-- tools/benchmark -->
[L004]: https://github.com/pegjs/pegjs/tree/master/tools/benchmark
[L005]: https://img.shields.io/david/pegjs/pegjs.svg?path=tools/benchmark
[L006]: https://david-dm.org/pegjs/pegjs?path=tools/benchmark

<!-- tools/bundler -->
[L007]: https://github.com/pegjs/pegjs/tree/master/tools/bundler
[L008]: https://img.shields.io/david/pegjs/pegjs.svg?path=tools/bundler
[L009]: https://david-dm.org/pegjs/pegjs?path=tools/bundler

<!-- tools/impact -->
[L010]: https://github.com/pegjs/pegjs/tree/master/tools/impact
[L011]: https://img.shields.io/david/pegjs/pegjs.svg?path=tools/impact
[L012]: https://david-dm.org/pegjs/pegjs?path=tools/impact

<!-- tools/publish-dev -->
[L016]: https://github.com/pegjs/pegjs/tree/master/tools/publish-dev
[L017]: https://img.shields.io/david/pegjs/pegjs.svg?path=tools/publish-dev
[L018]: https://david-dm.org/pegjs/pegjs?path=tools/publish-dev

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