Skip to content

In-place replacement for xml2js parseString. This is about 20x faster and makes use of the rapidxml C++ library

License

Notifications You must be signed in to change notification settings

travelbank/fast-xml2js

 
 

Repository files navigation

fast-xml2js

In-place replacement for xml2js parseString. This is about 20x-30x faster and makes use of the rapidxml C++ library.

Install

Run npm install fast-xml2js

Using

Simply replace

var parseString = require('xml2js').parseString;

with

var parseString = require('fast-xml2js').parseString;

Then call it like so:

parseString('<some_xml>', function(err, result) {
    console.log(result);
});

About

In-place replacement for xml2js parseString. This is about 20x faster and makes use of the rapidxml C++ library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 56.3%
  • HTML 43.2%
  • Other 0.5%