gulp-debug

WebJar for gulp-debug

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

gulp-debug
Last Version

Last Version

4.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

gulp-debug
WebJar for gulp-debug
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/gulp-debug

Download gulp-debug

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/gulp-debug/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>gulp-debug</artifactId>
    <version>4.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/gulp-debug/
implementation 'org.webjars.npm:gulp-debug:4.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/gulp-debug/
implementation ("org.webjars.npm:gulp-debug:4.0.0")
'org.webjars.npm:gulp-debug:jar:4.0.0'
<dependency org="org.webjars.npm" name="gulp-debug" rev="4.0.0">
  <artifact name="gulp-debug" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='gulp-debug', version='4.0.0')
)
libraryDependencies += "org.webjars.npm" % "gulp-debug" % "4.0.0"
[org.webjars.npm/gulp-debug "4.0.0"]

Dependencies

compile (6)

Group / Artifact Type Version
org.webjars.npm : through2 jar [2.0.0,3)
org.webjars.npm : fancy-log jar [1.3.2,2)
org.webjars.npm : chalk jar [2.3.0,3)
org.webjars.npm : tildify jar [1.1.2,2)
org.webjars.npm : plur jar [3.0.0,4)
org.webjars.npm : stringify-object jar [3.0.0,4)

Project Modules

There are no modules declared in this project.

gulp-debug

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');

exports.default = () => (
	gulp.src('foo.js')
		.pipe(debug({title: 'unicorn:'}))
		.pipe(gulp.dest('dist'))
);

API

debug(options?)

options

Type: object

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

Print filenames.

showCount

Type: boolean
Default: true

Print the file count.

logger(message)

Type: Function
Default: fancy-log

Provide your own logging utility in place of fancy-log. The message is passed as a string in the first argument. Note that ANSI colors may be used in the message.

Versions

Version
4.0.0