Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 JavaScript Parsing Projects
-
CyberChef
The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
markdown-it
Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
fast-xml-parser
Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Next, install gray-matter to extract metadata from the front matter of markdown files, and marked to convert the markdown files to HTML:
Then we take the encrypted text and use CyberChef to decrypt it.
Parse it into HTML using markdown-it
Project mention: Which software do you use to create presentations using Vim that is superior to existing ones? | /r/neovim | 2023-12-11I also didn't try this tool but it's called RemarkJS which is named too similar to revealjs.
Project mention: Ohm: A library and language for building parsers, interpreters, compilers, etc. | news.ycombinator.com | 2023-10-31Building an interpreter or a compiler from a grammar is an interesting idea. I can't immediately see how to go about it - the grammar would need to match on SSA or similar.
The examples have a lisp-like interpreter at https://github.com/ohmjs/ohm/blob/main/examples/simple-lisp/... which definitely uses a grammar for parsing and might use a generic AST representation.
Will have to think more - a grammar might be a worthwhile way to specify a nanopass style compiler pipeline.
While I suspect I would learn more writing a tokenizer and parsing logic myself I find grammars much easier to read and maintain.
ANTLR is pretty good and is supported across several languages and something I had previously used for some quick Elasticsearch query syntax munging in Python. It also means you can often start from an already existing grammar.
The JS version of ANTLR didn't seem to work for me so for the SQL/JSONPath stuff ended up using the Moo lever and Nearly parser which was rather pleasant. https://nearley.js.org
Inside the API route, convert the CSV file to JSON with csv-parser
JavaScript Parsing related posts
-
Creating excerpts in Astro
-
Parsing PDFs in Node.js
-
How to Create a Real-time Public Transportation Schedule App
-
Creating an Automated Profile README using Nodejs and GitHub Actions
-
Eleventy vs. Next.js for static site generation
-
How We Started Managing BSA Delivery Processes on GitHub
-
Is deep selector still needed?
-
A note from our sponsor - InfluxDB
www.influxdata.com | 31 May 2024
Index
What are some of the best open-source Parsing projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | marked | 32,098 |
2 | CyberChef | 25,985 |
3 | markdown-it | 17,379 |
4 | remark | 7,299 |
5 | js-yaml | 6,198 |
6 | x-ray | 5,840 |
7 | ohm | 4,900 |
8 | PEG.js | 4,755 |
9 | Jison | 4,322 |
10 | nearley | 3,560 |
11 | fast-xml-parser | 2,388 |
12 | fecha | 2,058 |
13 | csv-parser | 1,407 |
14 | google-libphonenumber | 1,356 |
15 | Making-a-custom-React-renderer | 1,296 |
16 | xlsx-populate | 932 |
17 | json-mask | 861 |
18 | wild-wild-path | 715 |
19 | Awesome phonenumber parser | 647 |
20 | strip-json-comments | 590 |
21 | json-query | 529 |
22 | ref | 449 |
23 | parse-json | 336 |
Sponsored