Coder Social home page Coder Social logo

ltx's Introduction

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.

parser ops/sec JS stream
node-xml 22,292
libxmljs 48,116
node-expat 63,805
sax-js 79,375
saxes 168,263
ltx/src/parsers/ltx 527,728

From ltx/benchmarks/parsers.js, higher is better. Node.js v14.17.0 - AMD Ryzen 9 5900HX

Benchmark

npm run benchmark

Test

npm install
npm test

ltx's People

Contributors

astro avatar sonnyp avatar lloydwatkin avatar dodo avatar flosse avatar mogsie avatar hammerdr avatar naltatis avatar thom-nic avatar timdp avatar greenkeeperio-bot avatar julien51 avatar chris-rock avatar nemphys avatar justincampbell avatar noisygerman avatar mdlavin avatar aprilandjan avatar pdehaan avatar retsam avatar rbrcurtis avatar vflash avatar sarlalian avatar hyperlink avatar danielzzz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.