tidy-html5
Clean and format HTML markup.
Usage
Use require("tidy-html5").tidy_html5(html_string, options)
.
Exemple
var tidy = tidy_html5 var result = ; console;
List of options
Here is the full list of options.
How it works
This is just tidy-html5 compiled from C to javascript using emscripten.