0.2.2 • Published 11 years ago
hermit v0.2.2
hermit
Prints html in the terminal using colors and simple layout to reflect the document structure.
Installation
npm install hermit
Usage
As Library
var hermit = require('hermit');
, html = '<div><h3>Hello from Hermit</h3><p>A little paragraph for you</p></div>';
hermit(html, function (err, res) {
console.log(res);
});
Output:
Hello from Hermit (in green)
-----------------
A little paragraph for you