node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey ยป

xml-simple

Install

npm install

Use

var XML = require('xml-simple');
XML.parse("<p><b>XML</b></p>", function(e,parsed) { console.log(parsed) })
> { b: 'XML' }

More, Bug Reports?

Go to xml2js. This is just a simple wrapper to avoid the event emitter syntax for simple transforms.