0.1.2 • Published 9 years ago

@koding/gloh v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 years ago

gloh

unglob a list of files/globs.

This is cojs/unglob in its bluebird form; api is different and adds a uniq option.

example

gloh(['**/*.js', 'foo.bar'], {
  opts.cwd: somedir,
  opts.uniq: true
}, function (err, res) {
  // and do the harlem shake
});

api

gloh(list, opts, cb)

opts.cwd is the directory, defaults to process.cwd() if not specified.

opts.uniq should be set to remove duplicates.

license

MIT