Gathering detailed insights and metrics for peggy
Gathering detailed insights and metrics for peggy
Gathering detailed insights and metrics for peggy
Gathering detailed insights and metrics for peggy
npm install peggy
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
957 Stars
1,913 Commits
65 Forks
14 Watching
5 Branches
19 Contributors
Updated on 27 Nov 2024
JavaScript (83.76%)
TypeScript (6.89%)
CSS (5.6%)
PEG.js (3.45%)
Shell (0.21%)
HTML (0.1%)
Cumulative downloads
Total Downloads
Last day
7.7%
21,742
Compared to previous day
Last week
4.1%
109,708
Compared to previous week
Last month
20.8%
442,170
Compared to previous month
Last year
207.9%
4,766,846
Compared to previous year
3
Peggy 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.
Peggy is the successor of PEG.js.
Peggy version 1.x.x is API compatible with the most recent PEG.js release. Follow these steps to upgrade:
pegjs
(and @types/pegjs
if you're using the DefinitelyTyped type definitions - we now include type definitions as part of peggy itself).require("pegjs")
or import ... from "pegjs"
with require("peggy")
or import ... from "peggy"
as appropriate.pegjs
cli should now use peggy
instead.Online version is the easiest way to generate a parser. Just enter your grammar, try parsing few inputs, and download generated parser code.
Full documentation is available at peggyjs.org.
To get started, check out peggy, install the dependencies, and run build:
1git clone https://github.com/peggyjs/peggy.git 2cd peggy 3npm install 4(cd docs && npm install) 5(cd web-test && npm install) 6npm run build 7npm run test:web
Please see the Contribution Guidelines for details on how to contribute code.
Peggy was originally developed by David Majda (@dmajda). It is currently maintained by Joe Hildebrand (@hildjj).
You are welcome to contribute code. Unless your contribution is really trivial you should get in touch with us first — this can prevent wasted effort on both sides.
No vulnerabilities found.
Reason
30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More