Skip to content

micnews/html-validate-unbalanced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html-validate-unbalanced

Spot unbalanced tag pairs, like

<div><span>foo<span></div>

build status

Stability

This module is undergoing heavy testing and is likely to be broken. Please open issues with the exact html for which it misbehaved.

Example

var validate = require('html-validate-unbalanced');

process.stdin
  .pipe(validate())
  .on('warning', AAAAHA)
  .pipe(process.stdout);

Installation

$ npm install html-validate-unbalanced

License

MIT