gulp plugin for HTML validation, using vnu.jar
JavaScript HTML
Latest commit 9366204 Dec 17, 2016 @watilde update deps

README.md

gulp-html Build Status NPM Version Dependency Status

gulp plugin for HTML validation, using the vnu.jar

Install

Run npm install gulp-html.

Usage

var gulp   = require('gulp');
var validator = require('gulp-html');

gulp.task('html', function() {
  return gulp.src('src/index.html')
  .pipe(validator())
  .pipe(gulp.dest('dist/'));
});

Options

The options object supports the same options as the standard The Nu Markup Checker.

See also: http://validator.github.io/validator/#options

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.