pojo2xml

1.7.2 • Public • Published

pojo2xml

Convert Javascript objects to XML strings. Fast.

Installation

npm

npm install pojo2xml

yarn

yarn add pojo2xml

Usage

var pojo2xml = require('pojo2xml');
var xmlString = pojo2xml(yourJavascriptObjectHere);

Not currently supported

  • XML declaration (e.g. <?xml version="1.0"?>)
  • an explicit root node - if the root JS object has more than one property, multiple root elements will be included in the XML
  • CDATA
  • XML attributes

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.7.22,366latest

Version History

VersionDownloads (Last 7 Days)Published
1.7.22,366
1.7.10
1.7.00
1.6.10
1.6.00
1.5.00
1.4.10
1.4.00
1.3.00
1.2.20
1.2.10
1.2.00
1.1.00
1.0.10
1.0.00

Package Sidebar

Install

npm i pojo2xml

Weekly Downloads

2,366

Version

1.7.2

License

ISC

Unpacked Size

7.43 kB

Total Files

10

Last publish

Collaborators

  • njuguna-medic
  • garethbowen
  • hgalemayehu
  • twd
  • kennsippell
  • craig_modules
  • medic-ci
  • ernestoteo
  • inromualdo
  • derickl
  • scdf
  • alxndrsn
OSZAR »