MCPcopy
hub / github.com/NaturalIntelligence/fast-xml-parser

github.com/NaturalIntelligence/fast-xml-parser @v5.9.3 sqlite

repository ↗ · DeepWiki ↗ · release v5.9.3 ↗
916 symbols 2,104 edges 83 files 35 documented · 4%
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

ExpressionOptions (Interface)
(no doc)
src/fxp.d.ts
Segment (Interface)
(no doc)
src/fxp.d.ts
PathNode (Interface)
(no doc)
src/fxp.d.ts
MatcherSnapshot (Interface)
(no doc)
src/fxp.d.ts
XMLMetaData (Interface)
(no doc)
src/fxp.d.ts

Core symbols most depended-on inside this repo

parse
called by 245
src/v6/XMLParser.js
push
called by 168
lib/fxp.cjs
validate
called by 73
spec/validator_spec.js
match
called by 47
src/v6/TagPath.js
pop
called by 42
lib/fxp.cjs
toString
called by 40
lib/fxp.cjs
has
called by 26
lib/fxp.cjs
y
called by 21
lib/fxp.cjs

Shape

Function 418
Method 385
Class 108
Interface 5

Languages

TypeScript100%

Modules by API surface

lib/fxp.cjs172 symbols
lib/fxp.min.js151 symbols
lib/fxparser.min.js132 symbols
static/js/jquery-3.2.1.min.js86 symbols
lib/fxbuilder.min.js71 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