1.1.1 • Published 6 years ago

node-xml2js-promise v1.1.1

Weekly downloads
123
License
MIT
Repository
github
Last release
6 years ago

node-xml2js-promise

A promise wrapper for xml2js.

NPM CircleCI Dependency Status

Installation

npm install node-xml2js-promise

Usage

const xml2js_promise = require('node-xml2js-promise');

xml2js_promise(xml, options).then(function(result) {
  console.log(result);
});

// or use ES7 async/await

(async ()=>{
    let result=await xml2js_promise(xml,options);
    console.log(result)
})();
1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago