glub
v1.0.3
Published
glub up globs
Downloads
32,560
Readme
glub
Small wrapper around glob
to allow mutiple args, useful for consuming mutiple command line args
var glub = require('glub');
// process.argv === ['node', 'index', '**/*.js', '!node_modules/**/*.js']
var files = glub.sync(process.argv.slice(2));
glub(process.argv.slice(2), function(err, files) {
});
It takes an optional second options
param which just forwards to glob
(the ignore
prop gets pushed values)