Skip to content

cmrigney/fast-xml2js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fast-xml2js

UPDATE: I'm no longer maintaining this project. If you would like to take it over or you know of a solid fork, please reach out!

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages