@hint/parser-html
webhint parser needed to analyze HTML files
Last updated 5 years ago by molant .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @hint/parser-html 
SYNC missed versions from official npm registry.

HTML (@hint/parser-html)

The HTML parser is built on top of jsdom so hints can analyze HTML files.

Note: This parser is currently only needed if using the local connector. Other connectors provide their own DOM to generate events instead.

This package is installed automatically by webhint:

npm install hint --save-dev

To use it, activate it via the .hintrc configuration file:

{
    "connector": {...},
    "formatters": [...],
    "hints": {
        ...
    },
    "parsers": ["html"],
    ...
}

Note: The recommended way of running webhint is as a devDependency of your project.

Events emitted

This parser emits the event parse::end::html of type HTMLParse which has the following information:

  • document: an HTMLDocument object containing the parsed document.
  • html: a string containing the raw HTML source code.
  • resource: the parsed resource.

And the event parse::start::html of type Event which has the following information:

  • resource: the resource that is going to be parsed.

Current Tags

  • 3.1.4                                ...           latest (a year ago)

44 Versions

  • 3.1.4                                ...           a year ago
  • 3.1.3                                ...           2 years ago
  • 3.1.2                                ...           2 years ago
  • 3.1.1                                ...           2 years ago
  • 3.1.0                                ...           2 years ago
  • 3.0.27                                ...           2 years ago
  • 3.0.26                                ...           3 years ago
  • 3.0.25                                ...           3 years ago
  • 3.0.24                                ...           3 years ago
  • 3.0.23                                ...           3 years ago
  • 3.0.22                                ...           3 years ago
  • 3.0.21                                ...           3 years ago
  • 3.0.20                                ...           3 years ago
  • 3.0.19                                ...           4 years ago
  • 3.0.18                                ...           4 years ago
  • 3.0.17                                ...           4 years ago
  • 3.0.16                                ...           4 years ago
  • 3.0.15                                ...           4 years ago
  • 3.0.14                                ...           5 years ago
  • 3.0.13                                ...           5 years ago
  • 3.0.12                                ...           5 years ago
  • 3.0.11                                ...           5 years ago
  • 3.0.10                                ...           5 years ago
  • 3.0.9                                ...           5 years ago
  • 3.0.8                                ...           5 years ago
  • 3.0.7                                ...           5 years ago
  • 3.0.6                                ...           5 years ago
  • 3.0.5                                ...           5 years ago
  • 3.0.4                                ...           5 years ago
  • 3.0.3                                ...           5 years ago
  • 3.0.2                                ...           5 years ago
  • 3.0.1                                ...           5 years ago
  • 3.0.0                                ...           6 years ago
  • 2.0.2                                ...           6 years ago
  • 2.0.1                                ...           6 years ago
  • 2.0.0                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.6                                ...           6 years ago
  • 1.0.5                                ...           6 years ago
  • 1.0.4                                ...           6 years ago
  • 1.0.3                                ...           6 years ago
  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (2)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (14)

© 2010 - cnpmjs.org x YWFE | Home | YWFE