html-lint travis-ci grunt npm

Linter that was originally part of kangax/html-minifier

3 years after

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

SublimeLinter-for-ST2

SublimeLinter-for-ST2

[DEPRECATED] Inline lint highlighting for the Sublime Text 2 editor ...

html-minifier

html-minifier

Javascript-based HTML compressor/minifier (with Node.js support) ...

SublimeLinter-scss-lint

SublimeLinter-scss-lint

SublimeLinter plugin for Sass scss syntax, using scss-lint ...

SublimeLinter-contrib-sass-lint

SublimeLinter-contrib-sass-lint

SublimeLinter plugin for Sass/SCSS syntax, using sass-lint (node.js). ...

html-tidy

html-tidy

HTML::Tidy, a Perl wrapper about libtidy ...


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