https://github.com/cmrigney/fast-xml2js
In-place replacement for xml2js parseString. This is about 20x faster and makes use of the rapidxml C++ library.
https://github.com/cmrigney/fast-xml2js
fast json xml xml2js
Last synced: 10 months ago
JSON representation
In-place replacement for xml2js parseString. This is about 20x faster and makes use of the rapidxml C++ library.
- Host: GitHub
- URL: https://github.com/cmrigney/fast-xml2js
- Owner: cmrigney
- License: mit
- Archived: true
- Created: 2015-10-13T16:16:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-05-07T13:48:51.000Z (almost 6 years ago)
- Last Synced: 2025-05-01T09:06:30.237Z (10 months ago)
- Topics: fast, json, xml, xml2js
- Language: C++
- Homepage: https://www.npmjs.com/package/fast-xml2js
- Size: 56.6 KB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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('', function(err, result) {
console.log(result);
});
```