gulp-is-thirteen
v0.0.0
Published
gulp plugin version of is-thirteen
Downloads
4
Readme
gulp-is-thirteen
streaming support for is-thirteen
Usage
var gulp = require('gulp');
var is = require('gulp-is-thirteen');
gulp.task('13', function() {
return gulp.src('**/13')
.pipe(is.thirteen)
.pipe(gulp.dest('filesThatAreThirteen/'));
});
roughly
gulp.src('**/13.2')
.pipe(is.roughly.thirteen)
.pipe(gulp.dest('filesThatAreRoughlyThirteen/'));
within
gulp.src('**/7')
.pipe(is.within(10).of.thirteen)
.pipe(gulp.dest('filesThatAreWithinTenOfThirteen/'));
by
var attribute = 'name';
gulp.src('**/13')
.pipe(is.thirteen.by(attribute))
.pipe(gulp.dest('filesThatAreThirteenByName/'));
Supported attributes:
content
(default)
check if the files content is thirteenname
check if the files name is thirteen