How to use the html-minifier/src/htmlparser.HTMLParser function in html-minifier

To help you get started, we’ve selected a few html-minifier examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kof / diff-renderer / bench / index.js View on Github external
exports.compare.htmlParser = function() {
    htmlParser.HTMLParser(html, {})
}

html-minifier

Highly configurable, well-tested, JavaScript-based HTML minifier.

MIT
Latest version published 6 years ago

Package Health Score

57 / 100
Full package analysis