npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

gulp-debug

3.1.0 • Public • Published

gulp-debug Build Status

Debug Vinyl file streams to see what files are run through your Gulp pipeline

Install

$ npm install --save-dev gulp-debug

Usage

const gulp = require('gulp');
const debug = require('gulp-debug');
 
gulp.task('default', () =>
    gulp.src('foo.js')
        .pipe(debug({title: 'unicorn:'}))
        .pipe(gulp.dest('dist'))
);

API

debug([options])

options

title

Type: string
Default: gulp-debug:

Give it a custom title so it's possible to distinguish the output of multiple instances logging at once.

minimal

Type: boolean
Default: true

By default only relative paths are shown. Turn off minimal mode to also show cwd, base, path.

The stat property will be shown when you run gulp in verbose mode: gulp --verbose.

showFiles

Type: boolean
Default: true

Setting this to false will skip printing the file names and only show the file count.

License

MIT © Sindre Sorhus

install

npm i gulp-debug

Downloadsweekly downloads

119,130

version

3.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability