Simple JavaScript Object to XML string converter.
npm install json2xmlnode-json2xml
===========
Description
-----------
Simple JavaScript Object to XML string converter.
Installation
------------
Simplest way to install json2xml is to use npm, just npm which will download json2xml and all dependencies.
install json2xml
Simple usage
-----------
var json2xml = require('json2xml');
json2xml({a:1});
//1
Options
-----------
add header:
json2xml({a:1}, { header:true });
//1
add node attributes:
json2xml({a:1, attr:{b:2,c:3 }}, { attributes_key:'attr' });
// 1