UNPKG

199 BJavaScriptView Raw
1'use strict';
2/**
3 * json2xml module
4 * @module json2xml
5 * @see module:index
6 */
7const js2xml = require('./js2xml');
8const xml = require('./xml');
9
10module.exports = (obj) => xml.parse(js2xml(obj));