Closed
Description
// test.js
const convert = require('xml-js');
const js = { request: { user: 'username', pass: 'password', numbers: { number: 1, number: 2 } } }
const xml = convert.js2xml(js);
console.log(xml);
> node test.js
''
node@8.1.2
xml-js@1.3.2
runkit here - https://runkit.com/jncr/xml-js. Something I'm doing wrong?
Metadata
Metadata
Assignees
Labels
No labels