html-lint travis-ci grunt npm

Linter that was originally part of kangax/html-minifier

HTMLLint

NPM version Build Status Dependency Status devDependency Status Gitter

HTMLLint is a JavaScript-based HTML Linter based on HTMLMinifier.

Test suite is available online.

Installation Instructions

From NPM for programmatic use:

npm install html-minifier-lint

From Git:

git clone git://github.com/kangax/html-lint.git
cd html-lint
npm link .

Usage

For command line usage please see html-minifier-lint --help

Node.js

var lint = require('html-minifier-lint').lint;
var result = lint('<p title="blah" id="moo">foo</p>');
result; // ' - No DOCTYPE found.'

Related Repositories

html5-lint

html5-lint

HTML Validation using Mozilla's HTML5 Validator instance ...

eslint-plugin-html

eslint-plugin-html

An ESLint plugin to extract and lint scripts from HTML files. ...

aurelia-template-lint

aurelia-template-lint

Sanity check of Aurelia-flavor template HTML ...

html-lint

html-lint

Linter that was originally part of kangax/html-minifier ...

html-lint

html-lint

HTML::Lint, the Perl module for HTML checking ...


Top Contributors

kangax alexlamsl XhmikosR duncanbeevers LaurentGoderre mhulse tssajo rsp stevenvachon stereobooster bryanerayner isiahmeadows stieler-it jshado1 shoja jonathantneal jshcrowthe kotnik sindresorhus silverwind tomByrer willfarrell ybiquitous almirfilho schmod antonmoiseev borao crcn dentuzhik ds82

Releases

-   v2.0.0 zip tar
-   v1.1.1 zip tar
-   v1.1.0 zip tar
-   v1.0.0 zip tar