kramer
v0.1.3
Published
Converts Javascript Objects to Xml
Downloads
3
Readme
Kramer
A Javascript Object to XML Parser
Install
npm install kramer
Usage
var kramer = require('kramer');
var doc = {
_: { version: '1', build: '2' },
foo: 'bar'
}
var xml = kramer.parse('root', doc);
console.log(xml);
Results
<root version='1' build='2'>
<foo>bar</foo>
</root>