git ssb

0+

cel-desktop / ssb-pkg



Tree: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44

Files: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44 / 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