2.0.0 • Published 10 years ago

html-minifier-lint v2.0.0

Weekly downloads
280
License
MIT
Repository
github
Last release
10 years ago

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

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.9.0

10 years ago