JavaScript Parsing

Open-source JavaScript projects categorized as Parsing

Top 23 JavaScript Parsing Projects

  • marked

    A markdown parser and compiler. Built for speed.

    Project mention: Improving Render Performance in React | dev.to | 2022-11-21

    In the following example, we have a user profile component that renders a list of the user's skills. Each skill has a name and a description. The description is served as markdown and we need to parse it to HTML before we render it. We can do this with a markdown parser (marked, in this case) and use dangerouslySetInnerHTML to inject the HTML into a

  • CyberChef

    The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis

    Project mention: 40 Containers & Counting... | reddit.com/r/selfhosted | 2023-02-08

    CyberChef - Web App for "computer science" things

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • markdown-it

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

    Project mention: How to convert markdown to json in react js | reddit.com/r/reactjs | 2022-12-31

    Maybe Markdown It? link

  • remark

    remark is a popular tool that transforms markdown with plugins. These plugins can inspect and change your markup. You can use remark on the server, the client, CLIs, deno, etc. (by remarkjs)

    Project mention: Contentlayer with next/image | dev.to | 2023-01-04

    contentlayer uses remark to parse the markdown in an mdast. We can now use remark plugins to modify the mdast. Then rehype comes into play and converts the mdast into a hast. rehype plugins can now modify the hast. Finally the hast is converted into react components.

  • js-yaml

    JavaScript YAML parser and dumper. Very fast.

    Project mention: Building a Custom YAML Loader for Webpack | dev.to | 2023-01-04

    Parse the source string. We're using js-yaml for this.

  • x-ray

    The next web scraper. See through the <html> noise.

    Project mention: Can anyone scrape the names and prices of all the products from this website? | reddit.com/r/webscraping | 2022-06-26

    I used x-ray (Javascript/Nodejs) to get your data. This is all the code I needed:

  • PEG.js

    PEG.js: Parser generator for JavaScript

    Project mention: How do you start your own programming language? | reddit.com/r/learnprogramming | 2022-10-31

    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.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • ohm

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

    Project mention: Is there a generalised, abstract programming language, designed to be specialised to a specific domain? | reddit.com/r/ProgrammingLanguages | 2022-11-09

    Look for OMeta and its successor Ohm.

  • Jison

    Bison in JavaScript.

  • nearley

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

  • fecha

    Lightweight and simple JS date formatting and parsing

  • fast-xml-parser

    Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.

    Project mention: XML: read and write with Node.js | dev.to | 2022-12-10

    After experimenting with a few different XML parsers I settled on fast-xml-parser. It's fast, it's simple and it's well maintained. It also handles XML namespaces and attributes well. (This appears to be rare in XML parsers.)

  • csv-parser

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

    Project mention: I have created a nextjs app which has multiple card column, i want to import data from csv file to this card. can somebody guide me? for reference i have attached some image what i want | reddit.com/r/nextjs | 2022-07-07

    If this were me, I'd probably add a getStaticProps function to the page, and then use the csv-parser library within this function to convert the CSV file into JSON data, and then return that JSON data from the getStaticProps function so the page can access it as props.

  • Making-a-custom-React-renderer

    Tutorial on how to make a custom React renderer

    Project mention: How can I access/console.log the fiber tree as it renders to a page in Chrome? | reddit.com/r/react | 2022-06-29

    Nitin's series of posts

  • google-libphonenumber

    The up-to-date and reliable Google's libphonenumber package for node.js.

    Project mention: Best way to validation phone numbers in React JS? | reddit.com/r/reactjs | 2022-03-25

    regex will not work ideally here. For some countries correct number may have few max length. I'd use https://www.npmjs.com/package/google-libphonenumber instead

  • json-mask

    Tiny language and engine for selecting specific parts of a JS object, hiding the rest.

  • 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.

  • wild-wild-path

    🤠 Object property paths with wildcards and regexps 🌵

    Project mention: ehmicky/wild-wild-path: Object property paths with wildcards and regexps | news.ycombinator.com | 2022-04-19
  • strip-json-comments

    Strip comments from JSON. Lets you use comments in your JSON files!

  • Awesome phonenumber parser

    Google's libphonenumber pre-compiled with the closure compiler

  • json-query

    Retrieves values from JSON objects for data binding

  • ref

    Turn Buffer instances into "pointers"

  • parse-json

    Parse JSON with more helpful errors

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-02-08.

JavaScript Parsing related posts

Index

What are some of the best open-source Parsing projects in JavaScript? This list will help you:

Project Stars
1 marked 29,051
2 CyberChef 20,168
3 markdown-it 14,789
4 remark 5,950
5 js-yaml 5,796
6 x-ray 5,659
7 PEG.js 4,545
8 ohm 4,364
9 Jison 4,236
10 nearley 3,351
11 fecha 2,015
12 fast-xml-parser 1,803
13 csv-parser 1,288
14 Making-a-custom-React-renderer 1,274
15 google-libphonenumber 1,243
16 json-mask 847
17 xlsx-populate 839
18 wild-wild-path 595
19 strip-json-comments 563
20 Awesome phonenumber parser 561
21 json-query 493
22 ref 424
23 parse-json 294
Write Clean JavaScript Code. Always.
Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
www.sonarsource.com