npm.io
1.1.0 • Published 6 years ago

gulp-vinyl-flow

Licence
MIT
Version
1.1.0
Deps
4
Size
8 kB
Vulns
0
Weekly
0
Stars
1

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.

Keywords