Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 months 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 (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-06-11T10:48:58.000Z (3 months ago)
- Last Synced: 2024-07-21T03:34:32.187Z (2 months 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.2 MB
- Stars: 73
- Watchers: 8
- Forks: 16
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-html
[![npm version](https://img.shields.io/npm/v/gulp-html?logo=npm&logoColor=fff)](https://www.npmjs.com/package/gulp-html)
[![Build Status](https://img.shields.io/github/actions/workflow/status/validator/gulp-html/test.yml?branch=main&label=Tests&logo=github)](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).