git ssb

0+

cel-desktop / ssb-pkg



Tree: 65191f9a9664f013ebe726bb95a1a54b086e1bd5

Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-79-npm / xml2js / xml2js.js

234 bytesRaw
1'use strict';
2
3var parse = require('xml2js').parseString;
4var xml = '<root>Hello xml2js!</root>';
5parse(xml, function (error, result) {
6 if (error) throw error;
7 if (result.root === 'Hello xml2js!') {
8 console.log('ok');
9 }
10});
11

Built with git-ssb-web