gloh

0.1.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    1
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i gloh

Weekly Downloads

1

Version

0.1.2

License

MIT

Last publish

Collaborators

  • acroyear2