gulp-html

    4.0.0 • Public • Published

    gulp-html

    npm version Total alerts Build Status

    gulp plugin for HTML validation, using the Nu Html Checker (v.Nu)

    Install

    Run npm install gulp-html -D.

    Usage

    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 https://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.

    Install

    npm i gulp-html

    DownloadsWeekly Downloads

    735

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    6.72 kB

    Total Files

    4

    Last publish

    Collaborators

    • watilde
    • xhmikosr
    • sideshowbarker