JavaScript Parser

Open-source JavaScript projects categorized as Parser

Top 23 JavaScript Parser Projects

  • marked

    A markdown parser and compiler. Built for speed.

    Project mention: Improving Render Performance in React | | 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

  • terser

    🗜 JavaScript parser, mangler and compressor toolkit for ES6+

    Project mention: React Native CI/CD build speed improved by 22% with one line of code | | 2023-01-20

    Every release build of React Native uses terser to reduce the size of your JavaScript. And it operation can be omitted for Staging/Beta builds.

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

  • remarkable

    Markdown parser, done right. Commonmark support, extensions, syntax plugins, high speed - all in one. Gulp and metalsmith plugins available. Used by Facebook, Docusaurus and many others! Use for HTML-to-markdown conversion. Use to generate a table of contents.

  • astexplorer

    A web tool to explore the ASTs generated by various parsers.

    Project mention: [AskJS] Any good shortcuts for migrating off of enzyme? | | 2023-02-05 is your friend for knowing exactly what the AST structure will look like for any given code snippet. Make sure you select the correct parser.

  • body-parser

    Node.js body parsing middleware

    Project mention: How to use celebrate with Node.js | | 2022-05-24

    body-parser is a middleware that parses the body of incoming requests, and exposes the resulting object on req.body

  • globalize

    A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data

    Project mention: How to Internationalize Your App’s Product Notifications | | 2022-02-10

    FormatJS and GlobalizeJS, which are collections of javascript libraries for i18n formatting and other tools. However, unlike i18next, developers using FormatJS will need to write their own code to detect language.

  • parser

    📜 Extract meaningful content from the chaos of a web page

    Project mention: Trouble Building Chrome Extension to Get News Article Content | | 2022-11-22

    I've been working on an enhanced reader mode extension for the last few months. I found that Mercury Reader's parser tool is useful for extracting content. If that's not exactly what you're looking for, readibility is another good option. It's a library used inside Firefox's reader moder that you can use in any project.

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

  • nearley

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

  • posthtml

    PostHTML is a tool to transform HTML/XML with JS plugins

    Project mention: How to set base url for root-relative url? | | 2022-08-09

    A bundler running an html transformer like could do this. Then the html would just be dependent on an environment variable to set your prefix conditions.

  • snarkdown

    :smirk_cat: A snarky 1kb Markdown parser written in JavaScript

    Project mention: NPM Needs: snarkdown | | 2022-04-10

    Github Repo: developit/snarkdown

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

  • html-react-parser

    :memo: HTML to React parser.

    Project mention: Displaying WYSIWYG editor's output with React | | 2022-07-06

    I'm glad I could help! Please be careful though and check the FAQ section of the library. It says that it does not sanitize and it's not XSS safe. This is the issue where they explain:

  • 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? | | 2022-03-25

    regex will not work ideally here. For some countries correct number may have few max length. I'd use instead

  • xml-js

    Converter utility between XML text and Javascript object / JSON text.

    Project mention: Any well typed NPM packages for converting both ways between XML <-> TS objects... that use a consistent type for XML nodes (with the tag name inside the object)? | | 2023-01-24

    I found this:

  • arg

    Simple argument parsing

    Project mention: Vercel not granting publish access to arg AUTHOR | | 2022-07-07
  • expr-eval

    Mathematical expression evaluator in JavaScript

  • swagger-parser

    Swagger 2.0 and OpenAPI 3.0 parser/validator

    Project mention: Any good examples of Next.js + OpenAPI + Request/Response Validation? | | 2022-08-04
  • himalaya

    JavaScript HTML to JSON Parser (by andrejewski)

  • exifr

    📷 The fastest and most versatile JS EXIF reading library.

    Project mention: GitHub - MikeKovarik/exifr: The fastest and most versatile JS EXIF reading library. | | 2022-11-18
  • webassemblyjs

    Toolchain for WebAssembly

    Project mention: the eye-opener commit | | 2022-09-18

    So now, to try to dig ourselves out of this fuckery we have to build emulation layers for the considered solution to run on the stupid solution.

  • Kuiper

    Digital Forensics Investigation Platform

  • mri

    Quickly scan for CLI flags and arguments

  • php-parser

    :herb: NodeJS PHP Parser - extract AST or tokens (by glayzzle)

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

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

JavaScript Parser related posts


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

Project Stars
1 marked 29,051
2 terser 7,635
3 remarkable 5,465
4 astexplorer 5,289
5 body-parser 5,236
6 globalize 4,718
7 parser 4,547
8 nearley 3,351
9 posthtml 2,871
10 snarkdown 2,054
11 fast-xml-parser 1,803
12 html-react-parser 1,568
13 google-libphonenumber 1,243
14 xml-js 1,144
15 arg 1,116
16 expr-eval 995
17 swagger-parser 939
18 himalaya 865
19 exifr 793
20 webassemblyjs 717
21 Kuiper 595
22 mri 507
23 php-parser 481
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.