Simple XML Converter is a Javascript module which converts javascript objects to simple xml strings.
Run this command:
$ npm install simple-xml-converter --save
import SimpleXmlConverter from 'simple-xml-converter';
// without indentation
const xmlString = SimpleXmlConverter.toXml(someObject);
// with indentation of 4 spaces
const xmlString = SimpleXmlConverter.toXml(someObject, 4);
Simple XML Converter
follows Semantic Versioning 2.0.0
- 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
Dimitri König (@dimitrikoenig)
The Simple Vertec Api is open-sourced software licensed under the MIT license