10 Best Node.js XML Parser Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

xml

xml2js

XML to JavaScript object converter.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.7/ 5
7
Top Feedback
7Great Documentation
5Easy to Use
5Performant
GitHub Stars
4K
Weekly Downloads
14M
Last Commit
2yrs ago
Bundle Size (min+gzip)
21.2KB
Not Tree-Shakeable
rem

remixml

Remixml: XML/HTML-like macro language/template engine

License Icon
License: (ISC OR GPL-3.0)
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
N/A
Weekly Downloads
85
Last Commit
8mos ago
Bundle Size (min+gzip)
6.25KB
Not Tree-Shakeable

libxmljs

libxml bindings for v8 javascript engine

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
1
Top Feedback
N/A
GitHub Stars
981
Weekly Downloads
32K
Last Commit
2yrs ago
Bundle Size (min+gzip)
2.87KB
Not Tree-Shakeable

fast-xml-parser

Validate XML, Parse XML to JS/JSON and vise versa, or parse XML to Nimn rapidly without C/C++ based libraries and no callback

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
3M
Last Commit
1d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
sax

sax

A sax style parser for JS

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
981
Weekly Downloads
25M
Last Commit
4yrs ago
Bundle Size (min+gzip)
6.72KB
Not Tree-Shakeable
px

@rgrove/parse-xml

A fast, safe, compliant XML parser for Node.js and browsers.

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
195
Weekly Downloads
24K
Last Commit
2mos ago
Bundle Size (min+gzip)
4.13KB
Not Tree-Shakeable

ltx

XML for JavaScript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
1Poor Documentation
GitHub Stars
76
Weekly Downloads
32K
Last Commit
2mos ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
bpx

body-parser-xml

XML parser middleware for express.js.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
32
Weekly Downloads
25K
Last Commit
5mos ago
Bundle Size (min+gzip)
21.3KB
Not Tree-Shakeable

xml-parser

simple non-compliant xml parser for nodejs

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
96
Weekly Downloads
62K
Last Commit
6yrs ago
Bundle Size (min+gzip)
2.29KB
Not Tree-Shakeable
off

officegen

Standalone Office Open XML files (Microsoft Office 2007 and later) generator for Word (docx), PowerPoint (pptx) and Excell (xlsx) in javascript. The output is a stream.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
14K
Last Commit
8mos ago
Bundle Size (min+gzip)
156.1KB
Not Tree-Shakeable
xs

xml-stream

XML stream parser based on Expat. Made for Node.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
304
Weekly Downloads
17K
Last Commit
5yrs ago
Bundle Size (min+gzip)
5.38KB
Not Tree-Shakeable
px

pixl-xml

A simple module for parsing and composing XML.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
77
Weekly Downloads
6K
Last Commit
4yrs ago
Bundle Size (min+gzip)
2.67KB
Not Tree-Shakeable