This package has been deprecated

Author message:

node-xml2js is now supported promise

node-xml2js-promise

1.1.1 • Public • Published

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)
})();

Readme

Keywords

Package Sidebar

Install

npm i node-xml2js-promise

Weekly Downloads

50

Version

1.1.1

License

MIT

Unpacked Size

3.87 kB

Total Files

7

Last publish

Collaborators

  • ix64