TigersWay / gulp-vinyl-flow

Check Vinyl files, streams or buffers, going through your Gulp™ pipeline(s).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp-vinyl-flow GitHub last commit GitHub issues

Allows you to check Vinyl files, streams or buffers, going through your Gulp™ pipeline(s).

screenshot

Install npm

$ npm install gulp-vinyl-flow --save-dev

Usage

const gulp = require('gulp');
const debug = require('gulp-vinyl-flow');

exports.default = () => (
  gulp.src('static/images/**/*.{jpg,png}', {base:'static'})
    .pipe(debug('Images'))
    .pipe(gulp.dest('dist'));
);

API

gulp-vinyl-flow([title | options])

  • title (string)
    Same as options.title.
  • options
    • title (string | Default: Vinyl)
      Allow a custom title to distinguish outputs over potential multiple logging instances.
    • minimal (boolean | Default: true) v1.1.0+
      By default only vinyl.relative is shown. With Minimal off will also show cwd, base & path.
    • showFiles (boolean | Default: true)
      Print vinyl.relative.
    • showCount (boolean | Default: true)
      Print the vinyl files count.

About

Check Vinyl files, streams or buffers, going through your Gulp™ pipeline(s).

License:MIT License


Languages

Language:JavaScript 100.0%