kramer

0.1.3 • Public • Published

Kramer

A Javascript Object to XML Parser

Install

npm install kramer

Usage

var kramer = require('kramer');
 
var doc = {
  _: { version: '1', build: '2' },
  foo: {
    _: { cool: 'beans' },
    text: 'bar'
  }
}
 
var xml = kramer('root', doc);
 
console.log(xml);

Results

<root version='1' build='2'>
  <foo cool="beans">bar</foo>
</root>

Readme

Keywords

none

Package Sidebar

Install

npm i kramer

Weekly Downloads

0

Version

0.1.3

License

none

Last publish

Collaborators

  • jackhq