gulp-grep-stream
Stream grep plugin for gulp
This is grep for stream. It allows to include/exclude files from stream by patterns or custom function
.
Usage
Basic
var grep = ; gulp ;
Invert match
var grep = ; gulp ;
API
grep(pattern, options)
pattern
Type: String
/ Array
/ Function
Patterns for using in minimatch.
String
patternArray
of patternsFunction
returningboolean
to determine grep file or not
options.invertMatch
Type: Boolean
Default: false
If file matches one of patterns, it will be excluded from stream.