Skip to content

kuzvac/gulp-html

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.3%
  • HTML 6.7%