@jackens/format-xml (npm): ‘format-xml’ simply formats xml. Works in both Node.js and the browser. Lightweight. No dependencies.
Keywords: format-xml|format-html