AusDTO / gulp-html

gulp plugin for HTML validation, using vnu.jar

Home Page:http://watilde.github.io/gulp-html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

gulp plugin for HTML validation, using vnu.jar

http://watilde.github.io/gulp-html

License:MIT License


Languages

Language:HTML 91.8%Language:JavaScript 8.2%