xml2js-force-cdata

forked from https://github.com/Leonidas-from-XIV/node-xml2js

Usage no npm install needed!

<script type="module">
  import xml2jsForceCdata from 'https://cdn.skypack.dev/xml2js-force-cdata';
</script>

README

===========

forked from xml2js.

many applications require forced CDATA wrapper in builder, I made small change to enable this:

Option for Builder class

to enable this:

const builder = new xml2js.Builder({
    cdata: 'always'
})