MCPcopy Create free account
hub / github.com/NaturalIntelligence/fast-xml-parser

github.com/NaturalIntelligence/fast-xml-parser

Chat with this repo
repository ↗ · DeepWiki ↗ · release v5.10.0 ↗ · + Follow · compare 2 versions
936 symbols 2,126 edges 83 files 35 documented · 4% updated 4d agov5.10.0 · 2026-07-11★ 3,1189 open issues

Browse by type

Functions 823 Types & classes 113
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

fast-xml-parser

NPM total downloads

Validate XML, Parse XML to JS Object, or Build XML from JS Object without C/C++ based libraries and no callback.

FXP logo

  • Validate XML data syntactically. Use detailed-xml-validator to verify business rules.
  • Parse XML to JS Objects and vice versa
  • Common JS, ESM, and browser compatible
  • Faster than any other pure JS implementation.

It can handle big files (tested up to 100mb). XML Entities, HTML entities, and DOCTYPE entites are supported. Unpaired tags (Eg `

in HTML), stop nodes (Eg

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 422
Method 401
Class 108
Interface 5

Languages

TypeScript100%

Modules by API surface

lib/fxp.cjs178 symbols
lib/fxp.min.js157 symbols
lib/fxparser.min.js136 symbols
static/js/jquery-3.2.1.min.js86 symbols
lib/fxbuilder.min.js75 symbols
src/xmlparser/OrderedObjParser.js22 symbols
src/v6/Xml2JsParser.js20 symbols
src/v6/OutputBuilders/JsArrBuilder.js17 symbols
src/v6/OutputBuilders/JsObjBuilder.js16 symbols
src/fxp.d.ts15 symbols
src/v6/OutputBuilders/JsMinArrBuilder.js14 symbols
src/xmlparser/DocTypeReader.js13 symbols

Dependencies from manifests, versioned

@babel/core7.13.10 · 1×
@babel/plugin-transform-runtime7.13.10 · 1×
@babel/preset-env7.13.10 · 1×
@babel/register7.13.8 · 1×
@byspec/xml0.1.0 · 1×
@nodable/entities2.2.0 · 1×
@types/node20 · 1×
babel-loader8.2.2 · 1×
benchmark2.1.4 · 1×
c810.1.3 · 1×
eslint8.3.0 · 1×
fast-xml-builder1.2.0 · 1×

For agents

$ claude mcp add fast-xml-parser \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page