Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more. Learn more →
Top 23 JavaScript Parser Projects
-
Another option is to go with a purpose-built tool, like SlickPDF. I built slickpdf.com for the very purpose of going from Markdown to PDF. Give it a try!. It uses marked.js under the hood, and presents a live preview rendered on a Letter-size (8.5 in. x 11 in.) page.
-
Civic Auth
Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
-
Use free tools like Terser for JavaScript and CSSNano for CSS:
-
Project mention: Getting Started with Tree-sitter: Syntax Trees and Express API Parsing | dev.to | 2025-04-14
For an interactive experience with ASTs, you can explore AST Explorer, a tool that lets you experiment with different parsers and explore the abstract syntax trees of various code samples in real-time.
-
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: The "@ts-stack/body-parser" package passes the parsing results via a Promise | dev.to | 2024-07-22
The package @ts-stack/body-parser is a fork of body-parser - the native ExpressJS package. It is written in TypeScript in ESM format, without support for older versions of Node.js < v20.6.0. To install it, run the following command:
-
-
SurveyJS
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.
-
globalize
A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data
-
-
-
fast-xml-parser
Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.
Project mention: Fast-XML-Parser: Validate XML, Parse XML and Build XML Rapidly | news.ycombinator.com | 2024-09-11 -
-
csstree
A tool set for CSS including fast detailed parser, walker, generator and lexer based on W3C specs and browser implementations
-
-
-
-
-
-
Project mention: Show HN: Snap Scope – Visualize Lens Focal Length Distribution from EXIF Data | news.ycombinator.com | 2025-01-24
Thank you for such insightful feedback! I should clarify that this tool was designed as a web-based solution to avoid the traditional installation or server upload requirements, aiming for maximum accessibility. While I hadn't considered a CLI approach initially, you make an excellent point about its efficiency. However, I'm still weighing the trade-off between performance and accessibility.
I completely understand your concerns about the drag-and-drop stability with thousands of files. The issue you're experiencing with Vivaldi might be related to this. Would you mind trying the file picker button instead? I've been unable to reproduce the issue on my Apple M1 MacBook with the same browser, which makes it challenging to provide an immediate fix. I apologize for the inconvenience.
Regarding EXIF extraction, we're using the 'exifr' npm library, which actually works exactly as you suggested - it only reads the beginning portion of the file to extract EXIF data, even in the browser. You can learn more about it here: https://www.npmjs.com/package/exifr
-
Project mention: Ohm: A user-friendly parsing toolkit for JavaScript and TypeScript | news.ycombinator.com | 2025-02-11
I am jealous of kids these days learning the theory of parsing. There are so many great resources out there! Ohm in particular looks great, attention to detail, care for the theory. Makes me wish I had a project to try it out.
I am a big fan of PEG parsers. They do come with their set issues and difficulties but I always found them great to work with. My to go tool (also a PEG parser similar to Ohm) used to be pegjs now https://peggyjs.org/
When I needed speed, or a more classical take, I would use jison. But I think today I would have to find a good reason not to build a hand made parser.
-
-
-
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
JavaScript Parser discussion
JavaScript Parser related posts
-
Binary Formats Are Better Than JSON in Browsers
-
Tree-Sitter: From Code to Syntax-Tree
-
Getting Started with Tree-sitter: Syntax Trees and Express API Parsing
-
Ohm: A user-friendly parsing toolkit for JavaScript and TypeScript
-
Swc4j: SWC for Java
-
Types are the basic tool of software design
-
Building a Stripe-like Search Language from Scratch
-
A note from our sponsor - SurveyJS
surveyjs.io | 14 May 2025
Index
What are some of the best open-source Parser projects in JavaScript? This list will help you:
# | Project | Stars |
---|---|---|
1 | marked | 34,574 |
2 | terser | 8,955 |
3 | astexplorer | 6,346 |
4 | remarkable | 5,800 |
5 | parser | 5,613 |
6 | body-parser | 5,494 |
7 | ohm | 5,293 |
8 | globalize | 4,804 |
9 | nearley | 3,681 |
10 | posthtml | 2,945 |
11 | fast-xml-parser | 2,761 |
12 | snarkdown | 2,315 |
13 | csstree | 1,993 |
14 | google-libphonenumber | 1,440 |
15 | xml-js | 1,319 |
16 | arg | 1,278 |
17 | expr-eval | 1,245 |
18 | swagger-parser | 1,136 |
19 | exifr | 1,113 |
20 | peggy | 1,057 |
21 | himalaya | 928 |
22 | Kuiper | 819 |
23 | webassemblyjs | 802 |