PEG.js VS parse-json

Compare PEG.js vs parse-json and see what are their differences.

PEG.js

PEG.js: Parser generator for JavaScript (by pegjs)

parse-json

Parse JSON with more helpful errors (by sindresorhus)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
PEG.js parse-json
8 0
4,726 335
1.0% -
0.0 6.3
over 2 years ago 18 days ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

PEG.js

Posts with mentions or reviews of PEG.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-31.
  • How do you start your own programming language?
    3 projects | /r/learnprogramming | 31 Oct 2022
    Here's a javascript library that lets you generate your own language that compiles to Javascript. https://pegjs.org/ It's a compiler generator. You can either use the command line tool and feed it your grammar (You have to write that) and use the generated parser.js which can then run your program, or use peg.js as a dependency and generate your parser at run time before feeding it your program.
  • Deno in 2022
    3 projects | /r/node | 9 Jul 2022
    The library they're having trouble with is the most common parser generator in javascript, peg.js, which has about 80% of the market

parse-json

Posts with mentions or reviews of parse-json. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning parse-json yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing PEG.js and parse-json you can also consider the following projects:

nearley - 📜🔜🌲 Simple, fast, powerful parser toolkit for JavaScript.

peggy - Peggy: Parser generator for JavaScript

Jison - Bison in JavaScript.

js-yaml - JavaScript YAML parser and dumper. Very fast.

Chevrotain - Parser Building Toolkit for JavaScript

xlsx-populate - Excel XLSX parser/generator written in JavaScript with Node.js and browser support, jQuery/d3-style method chaining, encryption, and a focus on keeping existing workbook features and styles in tact.

markdown-it - Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

csv-parser - Streaming csv parser inspired by binary-csv that aims to be faster than everyone else

ohm - A library and language for building parsers, interpreters, compilers, etc.

URI.js - Javascript URL mutation library