# @nuxtjs/html-validator

> html-validate integration for Nuxt

Latest version **2.1.0** (published 2025-02-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nuxtjs/html-validator
pnpm add @nuxtjs/html-validator
yarn add @nuxtjs/html-validator
bun add @nuxtjs/html-validator
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2025-02-27 |
| First published | 2020-10-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 13.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 205 |
| Maintainers | danielroe |
| Keywords | nuxt, module, nuxt-module, html-validator, validation, html |

## Links

- npm: https://www.npmjs.com/package/@nuxtjs/html-validator
- Repository: https://github.com/nuxt-modules/html-validator
- Homepage: https://github.com/nuxt-modules/html-validator#readme
- Issues: https://github.com/nuxt-modules/html-validator/issues
- npm.io page: https://npm.io/package/@nuxtjs/html-validator

## Dependencies (7)

- [pathe](https://npm.io/package/pathe.md) ^2.0.3
- [consola](https://npm.io/package/consola.md) ^3.4.0
- [std-env](https://npm.io/package/std-env.md) ^3.8.0
- [knitwork](https://npm.io/package/knitwork.md) ^1.2.0
- [prettier](https://npm.io/package/prettier.md) ^3.5.2
- [@nuxt/kit](https://npm.io/package/@nuxt/kit.md) ^3.15.4
- [html-validate](https://npm.io/package/html-validate.md) ~9.4.0

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 2.1.0 (latest) — 2025-02-27
- 2.0.0 — 2025-02-20
- 1.8.2 — 2024-05-17
- 1.8.1 — 2024-05-03
- 1.8.0 — 2024-04-29
- 1.7.2 — 2024-04-18
- 1.7.1 — 2024-04-03
- 1.6.0 — 2023-12-04
- 1.5.2 — 2023-07-22
- 1.5.1 — 2023-07-09
- 1.5.0 — 2023-06-30
- 1.4.0 — 2023-05-30
- 1.3.1 — 2023-05-23
- 1.2.5 — 2023-04-15
- 1.2.4 — 2023-03-05
- … 24 more at https://npm.io/package/@nuxtjs/html-validator/versions

## README

[![@nuxtjs/html-validator](https://html-validator.nuxtjs.org/preview.png)](https://html-validator.nuxtjs.org)

# @nuxtjs/html-validator

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href]
[![Codecov][codecov-src]][codecov-href]
[![License][license-src]][license-href]

> HTML validation using [html-validate](https://html-validate.org/) for [NuxtJS](https://nuxtjs.org)

- [✨ &nbsp;Release Notes](https://html-validator.nuxtjs.org/releases)
- [📖 &nbsp;Documentation](https://html-validator.nuxtjs.org)

## Features

- Zero-configuration required
- Helps reduce hydration errors
- Detects common accessibility mistakes

[📖 &nbsp;Read more](https://html-validator.nuxtjs.org)

## Quick setup

Add `@nuxtjs/html-validator` to your project

```bash
npx nuxi@latest module add html-validator
```

## Development

1. Clone this repository
2. Install dependencies using `yarn install`
3. Start development server using `yarn dev`

## License

[MIT License](./LICENSE)

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/html-validator/latest.svg
[npm-version-href]: https://npmjs.com/package/@nuxtjs/html-validator

[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/html-validator.svg
[npm-downloads-href]: https://npm.chart.dev/@nuxtjs/html-validator

[github-actions-ci-src]: https://github.com/nuxt-modules/html-validator/workflows/ci/badge.svg
[github-actions-ci-href]: https://github.com/nuxt-modules/html-validator/actions?query=workflow%3Aci

[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-modules/html-validator.svg
[codecov-href]: https://codecov.io/gh/nuxt-modules/html-validator

[license-src]: https://img.shields.io/npm/l/@nuxtjs/html-validator.svg
[license-href]: https://npmjs.com/package/@nuxtjs/html-validator

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