npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

html-validate-unbalanced

3.0.0

@juliangruber

npmHomeRepoSnykSocket
Downloads:12
$ npm install html-validate-unbalanced
DailyWeeklyMonthlyYearly

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