The parser can parse XML documents or streams and support multiple parsers.
- succinct API to build and manipulate XML objects
- parse XML strings
- parse XML streams
- multiple parser backends
- JSX compatible (with
- tagged template support
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 install npm test