obj

obj2xml

javascript object to xml converter

Showing:

Popularity

Downloads/wk

0

GitHub Stars

3

Maintenance

Last Commit

7yrs ago

Contributors

2

Package

Dependencies

0

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

obj2xml

javascript object to xml converter which is compatible with xml2js (https://github.com/Leonidas-from-XIV/node-xml2js)

installation:

$ npm install obj2xml

usage:

var js2xml = require('obj2xml');

//object
var xml = js2xml.convert(object);

//json string
var xml = js2xml.convert(JSON.parse(json));

obj2xml in browser!

$ bower install obj2xml --save

Load the script file in your application

<script type="text/javascript" src="bower_components/obj2xml/lib/obj2xml.js"></script>

the script would expose a js2xml object

//object
var xml = js2xml.convert(object);

//json string
var xml = js2xml.convert(JSON.parse(json));

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial