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 | news.ycombinator.com | 2021-12-12
  • terser

    🗜 JavaScript parser, mangler and compressor toolkit for ES6+

    Project mention: State of the Web: Bundlers & Build Tools | dev.to | 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 https://github.com/breakdance/breakdance for HTML-to-markdown conversion. Use https://github.com/jonschlinkert/markdown-toc to generate a table of contents.

    Project mention: Sciter, the 5 MB Electron alternative, has switched to JavaScript | news.ycombinator.com | 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 (https://github.com/jonschlinkert/remarkable) as it is:

    https://quark.sciter.com/quark-application-samples/hello-mar...

  • body-parser

    Node.js body parsing middleware

    Project mention: Why does body-parser use requires in a switch blockquestion | reddit.com/r/node | 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? | reddit.com/r/learnjavascript | 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 | dev.to | 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 | news.ycombinator.com | 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 | news.ycombinator.com | 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% | reddit.com/r/Raveberry | 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 | reddit.com/r/react | 2021-06-19
  • html-react-parser

    :memo: HTML to React parser.

    Project mention: How to Render HTML string in a React component ? | dev.to | 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 | dev.to | 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 | reddit.com/r/tasker | 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? | reddit.com/r/learnjavascript | 2021-01-26

    Or use an existing library, such as https://github.com/silentmatt/expr-eval

  • 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 | reddit.com/r/webdev | 2022-01-08

    swagger-parser

  • himalaya

    JavaScript HTML to JSON Parser (by andrejewski)

    Project mention: Parsing and comparing html pages | reddit.com/r/node | 2021-12-03

    Converting: https://github.com/andrejewski/himalaya

  • webassemblyjs

    Toolchain for WebAssembly

    Project mention: webassemblyjs VS adawebpack - a user suggested alternative | libhunt.com/r/webassemblyjs | 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 | reddit.com/r/node | 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 | reddit.com/r/bag_o_news | 2021-03-15
  • JSSoup

    JavaScript + BeautifulSoup = JSSoup

    Project mention: how to parse a giant block of html? | reddit.com/r/learnprogramming | 2021-07-22

    It has inspired many similar projects in other languages, e.g. https://github.com/chishui/JSSoup

  • tabloid

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

    Project mention: The Tabloid Programming Language | news.ycombinator.com | 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

Index

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 99remotejobs.com. 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.
github.com/nanovms