In-place replacement for xml2js parseString. This is about 20x-30x faster and makes use of the rapidxml C++ library.
npm install fast-xml2jsnpm install fast-xml2js`$3
Simply replace`var parseString = require('xml2js').parseString;`with
`var parseString = require('fast-xml2js').parseString;`Then call it like so:
`
parseString('', function(err, result) {
console.log(result);
});
``