xml-beautify
JSON →xml-beautify is an XML pretty-printer for Node.js and browser, version 1.2.3, released under MIT license. It formats XML text with customizable indent and self-closing element options. Maintained by riversun, it provides a simple API and works in both environments. Unlike alternatives, it preserves CDATA sections and self-closing tags. The package requires an external DOMParser (e.g., xmldom) when used in Node.js. The latest version is stable with no recent updates.
Resources
packagexml-beautify ↗