How to use js-beautify.html:
GitHub: FabricLabs/fabric-http
474 475 476 477 478 479 480 481 482
* @return {String} HTML string. */ render () { let page = this.page.render(); let html = this._loadHTML(page); let pretty = beautify.html(html, { indent_size: 2, extra_liners: [] });