2.5.1 • Published 8 years ago

ltx-ea v2.5.1

Weekly downloads
768
License
MIT
Repository
github
Last release
8 years ago

Environment Agnostic JavaScript XML library

Based on the original ltx, but not tied to nodejs events module

build status js-standard-style

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/secnativestream
sax-js99,412
node-xml130,631
libxmljs276,136
node-expat322,769
ltx/lib/parsers/ltx641,327

From ltx/benchmarks/parsers.js, higher is better.

Documentation

http://node-xmpp.org/doc/ltx.html

Benchmark

npm run benchmark

Test

npm install
npm test