simple-xml-converter
v2.0.0
Published
Converts javascript objects to simple xml strings
Downloads
19
Readme
Simple XML Converter
Simple XML Converter is a Javascript module which converts javascript objects to simple xml strings.
Installation
Run this command:
$ npm install simple-xml-converter --save
Example
import SimpleXmlConverter from 'simple-xml-converter';
// without indentation
const xmlString = SimpleXmlConverter.toXml(someObject);
// with indentation of 4 spaces
const xmlString = SimpleXmlConverter.toXml(someObject, 4);
Versioning
Simple XML Converter
follows Semantic Versioning 2.0.0
Contributing
- Fork it!
- Create your feature branch (
git checkout -b feature/my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin feature/my-new-feature
) - Create new Pull Request
Author
Dimitri König (@dimitrikoenig)
License
The Simple Vertec Api is open-sourced software licensed under the MIT license