xml-js
fast-xml-parser
Our great sponsors
xml-js | fast-xml-parser | |
---|---|---|
2 | 2 | |
1,244 | 2,345 | |
- | 1.6% | |
0.0 | 7.3 | |
6 months ago | 14 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xml-js
-
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)?
I found this: https://github.com/nashwaan/xml-js
-
Weekly [Discussion] Thread
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.
fast-xml-parser
-
XML: read and write with Node.js
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.)
- Submit form display data from outsource xml
What are some alternatives?
camaro - camaro is an utility to transform XML to JSON, using Node.js binding to native XML parser pugixml, one of the fastest XML parser around.
xml2js - XML to JavaScript object converter.
LADB - A local ADB shell for Android!
Jison - Bison in JavaScript.
himalaya - JavaScript HTML to JSON Parser
remark - markdown processor powered by plugins part of the @unifiedjs collective
SheetJS js-xlsx - 📗 SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs
parse5 - HTML parsing/serialization toolset for Node.js. WHATWG HTML Living Standard (aka HTML5)-compliant.
js-xlsx - :green_book: SheetJS Community Edition -- Spreadsheet Data Toolkit [Moved to: https://github.com/SheetJS/sheetjs]
js-yaml - JavaScript YAML parser and dumper. Very fast.
xml2lua - XML Parser written entirely in Lua that works for Lua 5.1+. Convert XML to and from Lua Tables 🌖💱
marked - A markdown parser and compiler. Built for speed.