This is fork of: https://github.com/cmrigney/fast-xml2js
In-place replacement for xml2js parseString. This is about 20x-30x faster and makes use of the rapidxml C++ library.
Run npm install @pjaromin/fast-xml2js
const { parseString } = require('@pjaromin/fast-xml2js');
parseString('<some_xml>', function(err, result) {
console.log(result);
});
const { parseXmlString } = require('@pjaromin/fast-xml2js');
parseXmlString('<some_xml>').then(result => console.log(obj));
Errors returned by this function are Error
instances.
Change log can be found here
Errors returned by this function are string
instances.