HTML Linter based on HTMLMinifier.
npm install html-minifier-lint




HTMLLint is a JavaScript-based HTML Linter based on HTMLMinifier.
Test suite is available online.
From NPM for programmatic use:
``shell`
npm install html-minifier-lint
From Git:
`shell`
git clone git://github.com/kangax/html-lint.git
cd html-lint
npm link .
For command line usage please see html-minifier-lint --help
` foojs``
var lint = require('html-minifier-lint').lint;
var result = lint('
result; // ' - No DOCTYPE found.'