gulp-nodupe

0.0.1 • Public • Published

Overview

Breaks a gulp stream if a duplicate files (duplicate meaning identical contents) are piped through it. Similar to gulp-dedupe, but intended to be used when the duplicate has to be removed by a human, rather than automatically.

Usage

It couldn't be simpler -- just add it to your pipe.

var gulp = require('gulp');
var nodupe = require('nodupe');

gulp.task('breakOnDuplicates', function() {
  gulp.src('path/to/*.glob')
    .pipe(nodupe())
    .pipe(gulp.dest('path/to/dist'));
});

Takes no options.

Dependents (0)

Package Sidebar

Install

npm i gulp-nodupe

Weekly Downloads

2

Version

0.0.1

License

Apache License 2.0

Last publish

Collaborators

  • douglas.wade