Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ltx

Package Overview
Dependencies
Maintainers
5
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ltx

<xml for="JavaScript">

  • 2.7.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
47K
decreased by-4.89%
Maintainers
5
Weekly downloads
 
Created
Source

ltx

JavaScript XML library

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:

  • succinct API to build and manipulate XML objects
  • parse XML strings
  • parse XML streams
  • multiple parser backends
  • JSX compatible (with ltx.createElement pragma)
  • tagged template support ltx`<foo bar="${baz}">`

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

FAQs

Package last updated on 09 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc