# Install peggy with npm

Parser generator for JavaScript. Version 5.1.0 via npm; verified 2026-03-01.

## Install

```sh
sudo av install npm:peggy
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g peggy
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:peggy
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/peggy>
- **Version:** 5.1.0
- **Source summary:** Parser generator for JavaScript
- **Homepage:** <https://peggyjs.org/>
- **Repository:** <https://github.com/peggyjs/peggy>
- **Upstream docs:** <https://peggyjs.org/>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/peggy/-/peggy-5.1.0.tgz>
- **Issue tracker:** <https://github.com/peggyjs/peggy/issues>
- **Published:** 2026-03-01T19:09:50.922Z
- **Last updated:** 2026-03-01T19:09:50.922Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- peggy (cli)
- peggy (alias)

## Dependencies

- @peggyjs/from-mem
- commander
- source-map-generator

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 5.1.0
- Package-manager updated: 2026-03-01
- Local data: ok
- Upstream repository: https://github.com/peggyjs/peggy
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for peggy. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 5.1.0, Pre: 4.1.0-pre.2
- **Version Count:** 29
- **Maintainers:** clintjhill, hildjj, charlespick
- **Author:** David Majda
- **Publisher:** GitHub Actions
- **Engines:** Node: >=20
- **Integrity:** sha512-IEo5aYRZ2kXH4Qby06cjtL114PZnwLoTiA41vUmg2vPZgANn+c87m5BUurhuDr5/cu758ZlpgsAfBVx+hhO5+w==
- **Shasum:** 8e2a681128cf776648417f60394a40b4a712f503
- **Unpacked Size:** 592,273
- **File Count:** 0
- **Created At:** 2012-04-10T06:22:51.049Z
- **Latest Published At:** 2026-03-01T19:09:50.922Z
- **Modified At:** 2026-03-01T19:09:51.236Z


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [pegjs](https://pkg.so/npm/pegjs/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, data-processing, generator, javascript.
- [plantuml-parser](https://pkg.so/npm/plantuml-parser/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, data-processing, javascript, parser.
- [regexp-tree](https://pkg.so/npm/regexp-tree/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, data-processing, javascript, parser.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
