ltx

ltx

JavaScript XML library

ltx is a fast XML builder, parser, serialization and manipulation library for JavaScript.

The builder is a convenient and succinct API to build XML documents represented in memory as JavaScript primitives that can be serialized to XML strings.

The parser can parse XML documents or streams and support multiple parsers.

Features:

Install

npm install ltx

Parsers

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.

parserops/secJSstream
sax-js43,058
libxmljs56,763
saxes62,246
node-xml81,980
node-expat72,720
ltx/lib/parsers/ltx490,593

From ltx/benchmarks/parsers.js, higher is better. Node.js v10.11.0 - i5-2520M

Benchmark

npm run benchmark

Test

npm install
npm test

HomePage

http://github.com/node-xmpp/ltx

Repository

httpshub:node-xmpp/ltx


上一篇:saxes
下一篇:bomstrip

相关推荐

  • ltx-ea

    build status(https://img.shields.io/travis/nodexmpp/ltx/master.svg?style=flatsquare)(h...

    3 个月前
  • @types/ltx

    TypeScript definitions for ltx Installation Summary This package contains type definitions...

    2 个月前
  • @iansltx/include-all

    An easy way to include all node.js modules within a directory. includeall An easy way to include ...

    5 个月前

官方社区

扫码加入 JavaScript 社区