# @html-eslint/parser

> Parser for @html-eslint/eslint-plugin

Latest version **0.66.0** (published 2026-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @html-eslint/parser
pnpm add @html-eslint/parser
yarn add @html-eslint/parser
bun add @html-eslint/parser
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.66.0 |
| Published | 2026-09-13 |
| First published | 2020-11-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 48.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 274 |
| Author | yeonjuan |
| Maintainers | yeonjuan-joah |
| Keywords | html, eslint, parser, ast, lint |

## Links

- npm: https://www.npmjs.com/package/@html-eslint/parser
- Repository: https://github.com/yeonjuan/html-eslint
- Homepage: https://github.com/yeonjuan/html-eslint#readme
- Issues: https://github.com/yeonjuan/html-eslint/issues
- npm.io page: https://npm.io/package/@html-eslint/parser

## Dependencies (4)

- [css-tree](https://npm.io/package/css-tree.md) ^3.1.0
- [es-html-parser](https://npm.io/package/es-html-parser.md) 0.3.1
- [@html-eslint/types](https://npm.io/package/@html-eslint/types.md) ^0.66.0
- [@html-eslint/template-syntax-parser](https://npm.io/package/@html-eslint/template-syntax-parser.md) ^0.66.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.66.0 (latest) — 2026-09-13
- 0.65.0-alpha.0 (alpha) — 2026-08-16
- 0.65.0 — 2026-08-17
- 0.64.0 — 2026-07-10
- 0.63.0 — 2026-06-27
- 0.62.0 — 2026-06-09
- 0.61.0 — 2026-05-24
- 0.60.0 — 2026-04-29
- 0.59.0 — 2026-04-05
- 0.58.1 — 2026-03-05
- 0.58.0 — 2026-03-04
- 0.58.0-alpha.0 — 2026-03-03
- 0.57.1 — 2026-02-25
- 0.57.0 — 2026-02-23
- 0.56.0 — 2026-02-20
- … 82 more at https://npm.io/package/@html-eslint/parser/versions

## README

# `@html-eslint/parser`

HTML parser for ESLint. Converts HTML into an ESLint-compatible AST using [es-html-parser](https://github.com/yeonjuan/es-html-parser).

## Installation

```bash
npm install --save-dev @html-eslint/parser
```

## Configuration

```js
// eslint.config.js
import html from "@html-eslint/eslint-plugin";

export default [
  {
    files: ["**/*.html"],
    plugins: { "@html-eslint": html },
    languageOptions: {
      parser: html.parser,
    },
  },
];
```

## Documentation

- [Getting Started](https://html-eslint.org/docs/getting-started)

## License

MIT

---
_Source: https://npm.io/package/@html-eslint/parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
