JavaScript object to XML converter (useful for RSS, podcasts, GPX, AMP, etc)
Full Changelog: https://github.com/davidcalhoun/jstoxml/compare/v5.0.0...v5.0.1
Full Changelog: https://github.com/davidcalhoun/jstoxml/compare/v3.2.9...v3.2.10
Full Changelog: https://github.com/davidcalhoun/jstoxml/compare/v3.2.8...v3.2.9
Full Changelog: https://github.com/davidcalhoun/jstoxml/compare/v3.2.7...v3.2.8
Full Changelog: https://github.com/davidcalhoun/jstoxml/compare/v3.2.5...v3.2.6
selfCloseTags
added which is used as an easier global setting to enable/disable self-closing tags.contentMap
can now be passed to transform any XML content. For instance, if you want <a>null</a>
to instead appear as <a></a>
you pass in contentMap: (content) => { return content === null ? '' : content }