kangax/html-lint


Linter that was originally part of kangax/html-minifier

Host: GitHub

License: MIT

Language: JavaScript


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.'

Project Statistics

Sourcerank 6
Repository Size 3.84 MB
Stars 21
Forks 0
Watchers 2
Open issues 1
Dependencies 7
Contributors 68
Tags 32
Created
Last updated
Last pushed

Top Contributors See all

Juriy Zaytsev Alex Lam S.L. XhmikosR Duncan Beevers Michael Hulse Laurent Goderre Zoltan Rafał Pocztarski Steven Vachon stereobooster stieler-it Isiah Meadows Bryan Rayner Tom Byrer shoja Jacob will Farrell Jonathan Neal silverwind Sindre Sorhus

Packages Referencing this Repo

html-minifier-lint
HTML Linter based on HTMLMinifier.
Latest release 2.0.0 - Updated - 21 stars

Recent Tags See all

v2.0.0 September 10, 2016
v1.1.1 May 02, 2016
v1.1.0 May 01, 2016
v1.0.0 October 25, 2015
v0.8.1 October 24, 2015
v0.8.0 September 23, 2015
v0.7.2 April 05, 2015
v0.7.1 April 04, 2015
v0.7.0 February 04, 2015
v0.6.9 October 16, 2014
v0.6.8 September 03, 2014
v0.6.7 September 02, 2014
v0.6.6 July 27, 2014
v0.6.5 July 06, 2014
v0.6.4 June 27, 2014

Something wrong with this page? Make a suggestion

Last synced: 2016-09-10 14:04:56 UTC

Login to resync this repository