Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
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:
git clone https://github.com/peggyjs/peggy.git
cd peggy
npm install
(cd docs && npm install)
(cd web-test && npm install)
npm run build
npm 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.
FAQs
Parser generator for JavaScript
The npm package peggy receives a total of 59,902 weekly downloads. As such, peggy popularity was classified as popular.
We found that peggy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.