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