The parser can parse XML documents or streams and support multiple parsers.
npm install ltx
By default ltx uses its own parser which is the fastest but doesn't support advanced XML features. ltx supports third party parsers when such features are needed.
From ltx/benchmarks/parsers.js, higher is better.
npm run benchmark
npm installnpm test