Gulp/vinyl-fs plugin, filter files that have been modified since given Date or Number.
npm i vinyl-filter-since --save
npm test
For more use-cases see the tests
var vinylFilterSince = require('vinyl-filter-since');
var gulp = require('gulp');
var through2 = require('through2');
gulp.src('some/file/path/*.js')
.pipe(vinylFilterSince(new Date('2015-03-16 13:27:54')))
.pipe(through2.obj(function(file, enc, next) {
// will not come here if file is older than given date
}))
- benz: Compose your control flow with absolute elegance. Support async/await, callbacks, thunks, generators, promises, observables, child… more
- generate: Project generator, for node.js.
- glob-fs: file globbing for node.js. speedy and powerful alternative to node-glob.
- is-match: Create a matching function from a glob pattern, regex, string, array or function.
- micromatch: Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just… more
- snapdragon: snapdragon is an extremely pluggable, powerful and easy-to-use parser-renderer factory.
- vinyl: A virtual file format
- vinyl-fs: Vinyl adapter for the file system
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.