1.4.1 • Published 4 years ago

@pjaromin/fast-xml2js v1.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

fast-xml2js

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.

Install

Run npm install @pjaromin/fast-xml2js

Using

parseString

const { parseString } = require('@pjaromin/fast-xml2js');
parseString('<some_xml>', function(err, result) {
    console.log(result);
});

parseXmlString

const { parseXmlString } = require('@pjaromin/fast-xml2js');
parseXmlString('<some_xml>').then(result => console.log(obj));

Errors returned by this function are Error instances.

Changelog

Change log can be found here Errors returned by this function are string instances.

1.4.1

4 years ago

1.3.0

4 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago