HTMLLint

JSON →
library 2.0.0 ·javascript
verified Jun 4, 2026

JavaScript-based HTML linter built on top of HTMLMinifier. Version 2.0.0 is the latest stable release. It checks HTML for common issues such as missing DOCTYPE, inline event handlers, deprecated attributes, and more. The library provides a simple lint function for programmatic use as well as a CLI. Unlike full-featured linters like HTMLHint or tidy, HTMLLint focuses on core validation rules from HTMLMinifier. It works with Node.js >=0.10.0 and has no required dependencies.