js-object-to-xml
    TypeScript icon, indicating that this package has built-in type declarations

    0.5.1 • Public • Published

    js-object-to-xml

    Convert simple JS objects to XML

    Build Status NPM version

    Install

    $ npm install --save js-object-to-xml
    

    Usage

    import { objectToXml } from 'js-object-to-xml';
     
    const object = {
      item: {
        foo: 'Lorem',
        bar: 'Ipsum'
      }
    };
     
    const xml = objectToXml(object); // <item><foo>Lorem</foo><bar>Ipsum</bar></item>

    License

    MIT © Jonathan Svenheden

    Keywords

    none

    Install

    npm i js-object-to-xml

    DownloadsWeekly Downloads

    264

    Version

    0.5.1

    License

    MIT

    Unpacked Size

    4.21 kB

    Total Files

    5

    Last publish

    Collaborators

    • jonathanp