simple-xml-converter

2.0.0 • Public • Published

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

  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

Readme

Keywords

Package Sidebar

Install

npm i simple-xml-converter

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

7.56 kB

Total Files

5

Last publish

Collaborators

  • dimitri.koenig