JavaScript Parser

Open-source JavaScript projects categorized as Parser | Edit details

Top 23 JavaScript Parser Projects

  • marked

    A markdown parser and compiler. Built for speed.

    Project mention: Favorite self-rendering Markdown tool in JavaScript | | 2021-12-12
  • terser

    🗜 JavaScript parser, mangler and compressor toolkit for ES6+

    Project mention: State of the Web: Bundlers & Build Tools | | 2022-01-23

    However, the first example is smaller and therefore transferred faster. Now, you might think you have to sacrifice size for readability, but there is a solution, minifiers. Minifiers automatically transform your source code into a smaller form. In fact, the first code example was generated by Terser, which is one of the best minifiers. Bundlers make using minifiers easy through plugins. Additionally, bundlers help perform other optimizations, like tree shaking, which removes unused code. Finally, bundling scripts itself can improve performance by reducing HTTP requests needed.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

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

    Project mention: Sciter, the 5 MB Electron alternative, has switched to JavaScript | | 2021-12-30

    > we can't take some well-tested, used-by-millions library

    You can.

    Here is an example of Sciter application that uses RemarkableJS library ( as it is:

  • body-parser

    Node.js body parsing middleware

    Project mention: Why does body-parser use requires in a switch blockquestion | | 2021-06-14
  • globalize

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

    Project mention: Is there a native JS method that converts results of `toLocaleString` back to number? | | 2021-07-30

    There are packages for this, though. 1, 2, 3

  • mercury-parser

    📜 Extract meaningful content from the chaos of a web page

    Project mention: Build your self-hosted Evernote | | 2022-01-06

    Make sure that at the end of the process you have the node and npm executables installed - the http.webpage integration uses the Mercury Parser API to convert web pages to Markdown.

  • nearley

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

    Project mention: Parser generators vs. handwritten parsers: surveying major languages in 2021 | | 2021-08-21
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • posthtml

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

    Project mention: esbuild – An extremely fast JavaScript bundler | | 2021-10-13
  • snarkdown

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

    Project mention: How I reduced Raveberry's transferred frontend code by 90% | | 2021-04-03

    Analyzing these dependencies, I found that some of them could be reduced or replaced. For example, jquery-ui is used for autocompletion and reordering. All additional widgets provided by jquery-ui (e.g. sliders, datepickers) are dead weight and can be excluded from the final bundle. Another example is marked, which was used to render the changelog. However, the changelog has a very simple structure and does not require a ~300KB library to be parsed. So instead, I use snarkdown, a lightweight alternative which is fully sufficient for this application.

  • fast-xml-parser

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

    Project mention: Submit form display data from outsource xml | | 2021-06-19
  • html-react-parser

    :memo: HTML to React parser.

    Project mention: How to Render HTML string in a React component ? | | 2021-08-03

    by using dangerouslySetInnerHTML, entire html in the string is preserved. Other alternative would be to use a html-react-parser library.

  • google-libphonenumber

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

    Project mention: I built my first SaaS on Next.js | | 2021-08-17

    I also decided to use google-libphonenumber on the server-side to handle formatting and validation of the phone input.

  • xml-js

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

    Project mention: Weekly [Discussion] Thread | | 2021-03-12

    That seems a good idea. After some search I came across a tool called xml-js. It can convert xml to json and vice versa.

  • expr-eval

    Mathematical expression evaluator in JavaScript

    Project mention: How do I get the value of a textbox and calculate everything in it? | | 2021-01-26

    Or use an existing library, such as

  • swagger-parser

    Swagger 2.0 and OpenAPI 3.0 parser/validator

    Project mention: I created a tool which automatically generates typescript definitions for API endpoints | | 2022-01-08


  • himalaya

    JavaScript HTML to JSON Parser (by andrejewski)

    Project mention: Parsing and comparing html pages | | 2021-12-03


  • webassemblyjs

    Toolchain for WebAssembly

    Project mention: webassemblyjs VS adawebpack - a user suggested alternative | | 2021-12-28
  • exifr

    📷 The fastest and most versatile JS EXIF reading library.

  • mri

    Quickly scan for CLI flags and arguments

    Project mention: advanced-cli | | 2021-10-23

    is very fast execution, more than mri

  • php-parser

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

  • Kuiper

    Digital Forensics Investigation Platform

    Project mention: DFIRKuiper/Kuiper - Digital Forensics Investigation Platform | | 2021-03-15
  • JSSoup

    JavaScript + BeautifulSoup = JSSoup

    Project mention: how to parse a giant block of html? | | 2021-07-22

    It has inspired many similar projects in other languages, e.g.

  • tabloid

    A minimal programming language inspired by clickbait headlines (by thesephist)

    Project mention: The Tabloid Programming Language | | 2021-06-24
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 2022-01-23.

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 26,743
2 terser 6,703
3 remarkable 5,269
4 body-parser 4,995
5 globalize 4,620
6 mercury-parser 4,062
7 nearley 3,114
8 posthtml 2,744
9 snarkdown 1,857
10 fast-xml-parser 1,356
11 html-react-parser 1,148
12 google-libphonenumber 1,114
13 xml-js 990
14 expr-eval 892
15 swagger-parser 820
16 himalaya 813
17 webassemblyjs 637
18 exifr 612
19 mri 455
20 php-parser 434
21 Kuiper 395
22 JSSoup 258
23 tabloid 257
Find remote jobs at our new job board There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.