{"library":"xml-beautify","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.2.3","tags":["javascript","beautify","pretty-xml","formatter","beautifier","pretty","prettify","xml"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install xml-beautify","imports":["import XmlBeautify from 'xml-beautify'","const XmlBeautify = require('xml-beautify')","const { DOMParser } = require('xmldom')"]},{"cmd":"yarn add xml-beautify","imports":[]},{"cmd":"pnpm add xml-beautify","imports":[]}],"homepage":"https://github.com/riversun/xml-beautify#readme","github":"https://github.com/riversun/xml-beautify","docs":null,"changelog":null,"pypi":null,"npm":"xml-beautify","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}