simple-xml-converter

Converts javascript objects to simple xml strings


Keywords
xml, converter
License
MIT
Install
npm install simple-xml-converter@1.1.5

Documentation

Simple XML Converter Build Status

npm version Dependency Status

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

var simpleXmlConverter = require('simple-xml-converter');

// without indentation
var xmlString = simpleXmlConverter.toXml(someObject);

// with indentation of 4 spaces
var xmlString = simpleXmlConverter.toXml(someObject, 4);

Versioning

Simple XML Converter follows Semantic Versioning 2.0.0

Contributing

  1. Fork it!
  2. Create your feature branch (git checkout -b feature/my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/my-new-feature)
  5. Create new Pull Request

Author

Dimitri König (@dimitrikoenig)

License

The Simple Vertec Api is open-sourced software licensed under the MIT license