Trying to use xml2js via npm install xml2js
but even after I removed this package with npm uninstall --save xml2js
this still works?
async function testParser() {
var parseString = require('xml2js').parseString;
var xml = "<root>Hello Sebastian xml2js!</root>";
parseString(xml, function (err, result) {
console.dir(result);
});
}