1.0.3 • Published 9 years ago

glub v1.0.3

Weekly downloads
2,564
License
MIT
Repository
-
Last release
9 years ago

glub

NPM version Build status Test coverage Downloads

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)

1.0.3

9 years ago

1.0.0

9 years ago