pretty-html-log

pretty-html-log is a npm module that pretty prints a raw html string to the console. It indents and highlights your code.

stringify-object

Stringify an object/array like JSON.stringify just without all the double-quotes

xml-formatter

Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute