jstransformer-foo
JSTransformer that converts a string to an XML CDATA.
Installation
npm install jstransformer-cdata
API
var cdata = cdatabody//=> '<![CDATA[hello world]]>' // ']]>' is properly escaped:cdatabody//=> '<![CDATA[<[[goodbye world]]]]><![CDATA[>]]>'
License
MIT