https://github.com/validator/gulp-html
Gulp plugin for HTML validation, using the official Nu Html Checker (v.Nu)
https://github.com/validator/gulp-html
gulp-plugin gulp-plugins gulpplugin html html-validation jar official validator vnu w3c w3c-validator
Last synced: 27 days ago
JSON representation
Gulp plugin for HTML validation, using the official Nu Html Checker (v.Nu)
- Host: GitHub
- URL: https://github.com/validator/gulp-html
- Owner: validator
- License: mit
- Created: 2015-01-09T16:48:44.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2025-10-01T18:01:24.000Z (about 1 month ago)
- Last Synced: 2025-10-06T13:36:06.670Z (about 1 month ago)
- Topics: gulp-plugin, gulp-plugins, gulpplugin, html, html-validation, jar, official, validator, vnu, w3c, w3c-validator
- Language: JavaScript
- Homepage: https://validator.github.io/gulp-html/
- Size: 42.3 MB
- Stars: 73
- Watchers: 6
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-html
[](https://www.npmjs.com/package/gulp-html)
[](https://github.com/validator/gulp-html/actions/workflows/test.yml?query=branch%3Amain)
gulp plugin for HTML validation, using the [Nu Html Checker (v.Nu)](https://validator.github.io/validator/)
## Install
Run `npm install gulp-html -D`.
## Usage
```js
const gulp = require('gulp');
const validator = require('gulp-html');
const html = () => {
return gulp.src('src/index.html')
.pipe(validator())
.pipe(gulp.dest('dist/'));
};
```
## Options
The options object supports the same options as Nu Html Checker.
See also .
### errors-only
* Type: `Boolean`
* Default: `false`
### format
* Type: `String`
* Default: `"gnu"`
### html
* Type: `Boolean`
* Default: `false`
### no-stream
* Type: `Boolean`
* Default: `false`
### verbose
* Type: `Boolean`
* Default: `false`
## License
Copyright 2015 Daijiro Wachi
This software is released under the MIT License. See [LICENSE](https://github.com/validator/gulp-html/blob/main/LICENSE).