| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
gulp plugin for HTML validation, using the Nu Html Checker (v.Nu)
Run npm install gulp-html -D.
const gulp = require('gulp');
const validator = require('gulp-html');
const html = () => {
return gulp.src('src/index.html')
.pipe(validator())
.pipe(gulp.dest('dist/'));
};The options object supports the same options as Nu Html Checker.
See also https://validator.github.io/validator/#options.
Copyright 2015 Daijiro Wachi
This software is released under the MIT License. See LICENSE.
| Back | FazBrowse Home | New Git URL |