{"_id":"glob-all","_rev":"2959425","name":"glob-all","description":"Provide multiple patterns to node-glob","dist-tags":{"latest":"3.3.1"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"time":{"modified":"2023-04-28T06:15:55.000Z","created":"2014-06-06T07:37:23.824Z","3.3.1":"2022-11-01T10:37:17.491Z","3.3.0":"2022-03-11T04:44:27.739Z","3.2.1":"2020-03-19T08:05:15.241Z","3.1.0":"2016-08-01T03:47:25.791Z","3.0.3":"2016-05-01T04:27:39.201Z","3.0.2":"2016-04-29T01:48:44.701Z","3.0.1":"2014-10-09T07:28:47.890Z","3.0.0":"2014-09-29T06:19:55.600Z","2.4.1":"2014-06-23T03:27:06.900Z","2.4.0":"2014-06-10T15:11:03.611Z","2.3.0":"2014-06-07T04:07:01.705Z","2.2.0":"2014-06-06T07:56:32.438Z","2.1.0":"2014-06-06T07:37:23.824Z"},"users":{"phanboy4":true,"danielbayley":true,"gskema":true,"kacpak":true},"author":{"name":"Jaime Pillora"},"repository":{"type":"git","url":"git+https://github.com/jpillora/node-glob-all.git"},"versions":{"3.3.1":{"name":"glob-all","version":"3.3.1","description":"Provide multiple patterns to node-glob","main":"glob-all.js","bin":{"glob-all":"bin/glob-all"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"^7.2.3","yargs":"^15.3.1"},"devDependencies":{"tape":"^4.16.1"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","gitHead":"817e368fd101cf74377140978e3611411352be7a","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all#readme","_id":"glob-all@3.3.1","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"shasum":"6be2d5d8276902319f640fbf839fbe15b35e7667","size":5153,"noattachment":false,"key":"/glob-all/-/glob-all-3.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-3.3.1.tgz"},"_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"directories":{},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/glob-all_3.3.1_1667299037290_0.900463930630168"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-01T11:09:43.451Z","publish_time":1667299037491,"_cnpm_publish_time":1667299037491},"3.3.0":{"name":"glob-all","version":"3.3.0","description":"Provide multiple patterns to node-glob","main":"glob-all.js","bin":{"glob-all":"bin/glob-all"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"^7.1.2","yargs":"^15.3.1"},"devDependencies":{"tape":"^4.9.0"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","gitHead":"640f4d87004b552b72a0eadadee85d553dc26406","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all#readme","_id":"glob-all@3.3.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"shasum":"2019896fbaeb37bc451809cf0cb1e5d2b3e345b2","size":5156,"noattachment":false,"key":"/glob-all/-/glob-all-3.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-3.3.0.tgz"},"_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"directories":{},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/glob-all_3.3.0_1646973867610_0.9634944283360434"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-11T04:44:31.680Z","publish_time":1646973867739,"_cnpm_publish_time":1646973867739},"3.2.1":{"name":"glob-all","version":"3.2.1","description":"Provide multiple patterns to node-glob","main":"glob-all.js","bin":{"glob-all":"./bin/glob-all"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"^7.1.2","yargs":"^15.3.1"},"devDependencies":{"tape":"^4.9.0"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","gitHead":"b174f55a26d7573cb3e89496fa96954359baf3ff","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all#readme","_id":"glob-all@3.2.1","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"shasum":"082ca81afd2247cbd3ed2149bb2630f4dc877d95","size":4759,"noattachment":false,"key":"/glob-all/-/glob-all-3.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-3.2.1.tgz"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/glob-all_3.2.1_1584605115139_0.5422249307713685"},"_hasShrinkwrap":false,"publish_time":1584605115241,"_cnpm_publish_time":1584605115241},"3.1.0":{"name":"glob-all","version":"3.1.0","description":"Provide multiple patterns to node-glob","main":"glob-all.js","bin":{"glob-all":"./bin/glob-all"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"^7.0.5","yargs":"~1.2.6"},"devDependencies":{"tape":"^4.5.1"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","gitHead":"b3a45fd8fec975ff6a3c57ab8cd2ca8a096db3c0","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all#readme","_id":"glob-all@3.1.0","_shasum":"8913ddfb5ee1ac7812656241b03d5217c64b02ab","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"dist":{"shasum":"8913ddfb5ee1ac7812656241b03d5217c64b02ab","size":4903,"noattachment":false,"key":"/glob-all/-/glob-all-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-3.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/glob-all-3.1.0.tgz_1470023245539_0.8897345238365233"},"directories":{},"publish_time":1470023245791,"_cnpm_publish_time":1470023245791,"_hasShrinkwrap":false},"3.0.3":{"name":"glob-all","version":"3.0.3","description":"Provide multiple patterns to node-glob","main":"glob-all.js","bin":{"glob-all":"./bin/glob-all"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"^4.0.6","yargs":"~1.2.6"},"devDependencies":{"tape":"^4.5.1"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","gitHead":"30e092bfe3a0c76c92e1aeab6fca7df5316992a7","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all#readme","_id":"glob-all@3.0.3","_shasum":"25659efff5a59fd55f1fb4e50c4886aa1f6eb25a","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"dist":{"shasum":"25659efff5a59fd55f1fb4e50c4886aa1f6eb25a","size":4765,"noattachment":false,"key":"/glob-all/-/glob-all-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-3.0.3.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/glob-all-3.0.3.tgz_1462076858770_0.906663368223235"},"directories":{},"publish_time":1462076859201,"_cnpm_publish_time":1462076859201,"_hasShrinkwrap":false},"3.0.2":{"name":"glob-all","version":"3.0.2","description":"Provide multiple patterns to node-glob","main":"glob-all.js","bin":{"glob-all":"./bin/glob-all"},"scripts":{"prepublish":"./node_modules/coffee-script/bin/coffee -c -o ./ src/glob-all.coffee","start":"./node_modules/coffee-script/bin/coffee  -w -c -o ./ src/glob-all.coffee"},"repository":{"type":"git","url":"git+https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"^4.0.6","yargs":"~1.2.6"},"devDependencies":{"coffee-script":"^1.7.1"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","gitHead":"74e265d9c6b65a06a6c41043eb84bac8f8b73753","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all#readme","_id":"glob-all@3.0.2","_shasum":"c4b9cdbe4ae1e85085c5bc63a50bb8335a3ab8f0","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"dist":{"shasum":"c4b9cdbe4ae1e85085c5bc63a50bb8335a3ab8f0","size":4519,"noattachment":false,"key":"/glob-all/-/glob-all-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-3.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/glob-all-3.0.2.tgz_1461894524337_0.5991129223257303"},"directories":{},"publish_time":1461894524701,"_cnpm_publish_time":1461894524701,"_hasShrinkwrap":false},"3.0.1":{"name":"glob-all","version":"3.0.1","description":"Provide multiple patterns to node-glob","main":"glob-all.js","scripts":{"prepublish":"./node_modules/coffee-script/bin/coffee -c -o ./ src/glob-all.coffee","start":"./node_modules/coffee-script/bin/coffee  -w -c -o ./ src/glob-all.coffee"},"repository":{"type":"git","url":"https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"^4.0.6"},"devDependencies":{"coffee-script":"^1.7.1"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","gitHead":"410856452bc212b34ab547826bfe6158ce8e2539","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all","_id":"glob-all@3.0.1","_shasum":"6347edfb5e026cbe35d0eeabd5385ce9c28312ff","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"dist":{"shasum":"6347edfb5e026cbe35d0eeabd5385ce9c28312ff","size":4137,"noattachment":false,"key":"/glob-all/-/glob-all-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-3.0.1.tgz"},"directories":{},"publish_time":1412839727890,"_cnpm_publish_time":1412839727890,"_hasShrinkwrap":false},"3.0.0":{"name":"glob-all","version":"3.0.0","description":"Provide multiple patterns to node-glob","main":"glob-all.js","scripts":{"prepublish":"./node_modules/coffee-script/bin/coffee -c -o ./ src/glob-all.coffee","start":"./node_modules/coffee-script/bin/coffee  -w -c -o ./ src/glob-all.coffee"},"repository":{"type":"git","url":"https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"^4.0.6"},"devDependencies":{"coffee-script":"^1.7.1"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","gitHead":"497a982a980a04b9048d6ce23cb036f91bc557dc","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all","_id":"glob-all@3.0.0","_shasum":"076d41e470ab2477136d4ca47c59bbb2607df95e","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"dist":{"shasum":"076d41e470ab2477136d4ca47c59bbb2607df95e","size":4130,"noattachment":false,"key":"/glob-all/-/glob-all-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-3.0.0.tgz"},"directories":{},"publish_time":1411971595600,"_cnpm_publish_time":1411971595600,"_hasShrinkwrap":false},"2.4.1":{"name":"glob-all","version":"2.4.1","description":"Provide multiple patterns to node-glob","main":"glob-all.js","scripts":{"prepublish":"./node_modules/coffee-script/bin/coffee -c -o ./ src/glob-all.coffee","start":"./node_modules/coffee-script/bin/coffee  -w -c -o ./ src/glob-all.coffee"},"repository":{"type":"git","url":"https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"~3.1.21"},"devDependencies":{"coffee-script":"^1.7.1"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","gitHead":"5fb8d96c4903857b321e2a7233181961ae0b81c8","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all","_id":"glob-all@2.4.1","_shasum":"8dc8d4cb5adcd5cdab6f947d4a083a09b4d3312f","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"dist":{"shasum":"8dc8d4cb5adcd5cdab6f947d4a083a09b4d3312f","size":4140,"noattachment":false,"key":"/glob-all/-/glob-all-2.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-2.4.1.tgz"},"directories":{},"publish_time":1403494026900,"_cnpm_publish_time":1403494026900,"_hasShrinkwrap":false},"2.4.0":{"name":"glob-all","version":"2.4.0","description":"Provide multiple patterns to node-glob","main":"glob-all.js","scripts":{"prepublish":"./node_modules/coffee-script/bin/coffee -c -o ./ src/glob-all.coffee","start":"./node_modules/coffee-script/bin/coffee  -w -c -o ./ src/glob-all.coffee"},"repository":{"type":"git","url":"https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"~3.1.21"},"devDependencies":{"coffee-script":"^1.7.1"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all","_id":"glob-all@2.4.0","dist":{"shasum":"6f8cd82af369bd337fb0032a00c90c4482a7bed1","size":4147,"noattachment":false,"key":"/glob-all/-/glob-all-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-2.4.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"directories":{},"publish_time":1402413063611,"_cnpm_publish_time":1402413063611,"_hasShrinkwrap":false},"2.3.0":{"name":"glob-all","version":"2.3.0","description":"Provide multiple patterns to node-glob","main":"glob-all.js","scripts":{"prepublish":"./node_modules/coffee-script/bin/coffee -c -o ./ src/glob-all.coffee","start":"./node_modules/coffee-script/bin/coffee  -w -c -o ./ src/glob-all.coffee"},"repository":{"type":"git","url":"https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"~3.1.21","async":"^0.9.0"},"devDependencies":{"coffee-script":"^1.7.1"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all","_id":"glob-all@2.3.0","dist":{"shasum":"4fe032158e84ab6902fb1056a85b45200b5969c1","size":3541,"noattachment":false,"key":"/glob-all/-/glob-all-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-2.3.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"directories":{},"publish_time":1402114021705,"_cnpm_publish_time":1402114021705,"_hasShrinkwrap":false},"2.2.0":{"name":"glob-all","version":"2.2.0","description":"Provide multiple patterns to node-glob","main":"glob-all.js","scripts":{"prepublish":"./node_modules/coffee-script/bin/coffee -c -o ./ src/glob-all.coffee","start":"./node_modules/coffee-script/bin/coffee  -w -c -o ./ src/glob-all.coffee"},"repository":{"type":"git","url":"https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"~3.1.21","async":"^0.9.0"},"devDependencies":{"coffee-script":"^1.7.1"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all","_id":"glob-all@2.2.0","dist":{"shasum":"1c187afeecc2e0537731de8220d197b24483df69","size":3504,"noattachment":false,"key":"/glob-all/-/glob-all-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-2.2.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"directories":{},"publish_time":1402041392438,"_cnpm_publish_time":1402041392438,"_hasShrinkwrap":false},"2.1.0":{"name":"glob-all","version":"2.1.0","description":"Provide multiple patterns to node-glob","main":"glob-all.js","scripts":{"prepublish":"./node_modules/coffee-script/bin/coffee -c -o ./ src/glob-all.coffee","start":"./node_modules/coffee-script/bin/coffee  -w -c -o ./ src/glob-all.coffee"},"repository":{"type":"git","url":"https://github.com/jpillora/node-glob-all.git"},"dependencies":{"glob":"~3.1.21","async":"^0.9.0"},"devDependencies":{"coffee-script":"^1.7.1"},"keywords":["glob","multi","all","manifest","generation","file"],"author":{"name":"Jaime Pillora"},"license":"MIT","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"homepage":"https://github.com/jpillora/node-glob-all","_id":"glob-all@2.1.0","dist":{"shasum":"e56a1dd49227125e5569a93eb16733413856cb18","size":3332,"noattachment":false,"key":"/glob-all/-/glob-all-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-all/download/glob-all-2.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jpillora","email":"dev@jpillora.com"},"maintainers":[{"name":"jpillora","email":"dev@jpillora.com"}],"directories":{},"publish_time":1402040243824,"_cnpm_publish_time":1402040243824,"_hasShrinkwrap":false}},"readme":"# glob-all\n\nProvides a similar API to [glob](https://github.com/isaacs/node-glob), however instead of a single pattern, you may also use arrays of patterns.\n\n[![Version](https://img.shields.io/npm/v/glob-all.svg)](https://www.npmjs.com/package/glob-all)  [![Downloads](https://img.shields.io/npm/dm/glob-all.svg)](https://www.npmjs.com/package/glob-all) [![CircleCI](https://circleci.com/gh/jpillora/node-glob-all.svg?style=shield)](https://circleci.com/gh/jpillora/node-glob-all)\n\n### Install\n\n```\nnpm install --save glob-all\n```\n\n### Usage\n\nGiven files:\n```\nfiles\n├── a.txt\n├── b.txt\n├── c.txt\n└── x\n    ├── y.txt\n    └── z.txt\n```\n\nWe can:\n``` js\nvar glob = require('glob-all');\n\nvar files = glob.sync([\n  'files/**',      //include all     files/\n  '!files/x/**',   //then, exclude   files/x/\n  'files/x/z.txt'  //then, reinclude files/x/z.txt\n]);\n\nconsole.log(files);\n```\n\nResulting in:\n```\n[ 'files',\n  'files/a.txt',\n  'files/b.txt',\n  'files/c.txt',\n  'files/x/z.txt' ]\n```\n\n### CLI Usage\n\n`npm install -g glob-all`\n\nList all JavaScript files in `example/`\n\n```\n$ glob-all 'example/**/*.js'\nexample/async.js\nexample/events.js\nexample/order.js\nexample/perf.js\nexample/sync.js\n```\n\nOr list all JavaScript files but ignore 3rd-party modules:\n\n```\n$ glob-all '**/*.js' '!node_modules/**/*'\n```\n\n### API\n\n* Async - `glob(patterns[, options], callback)`\n  * Returns a `GlobAll` instance which emits:\n    * `match`\n    * `error`\n    * `end`\n\n* Sync - `glob.sync(patterns[, options])`\n  * Returns `[String]` or `null`\n\nSee [node-glob](https://github.com/isaacs/node-glob)\n\n### Notes\n\n#### Exclude Pattern\n\nSince [node-glob](https://github.com/isaacs/node-glob) only allows one pattern, there is no such thing as an exclude pattern (like in Grunt and Gulp). However, in `node-glob-all` we allow exclusion of the results of an entire pattern by prefixing the pattern with `!`.\n\n[node-glob](https://github.com/isaacs/node-glob) exclusions (`!` inside the pattern) to exclude a portion of the path will still work as expected.\n\n#### File Order\n\nIf a file occurs in more than once in the set, the one with the **more precise pattern** will be used and the other will be thrown away. So, if you'd like a file be in a certain position, you could do:\n\n``` js\nvar glob = require('glob-all');\n\nvar files = glob.sync([\n  'files/x/y.txt',\n  'files/**'\n]);\n\nconsole.log(files);\n```\n\nWhich will bring `files/x/y.txt` to the top:\n\n```\n[ 'files/x/y.txt',\n  'files',\n  'files/a.txt',\n  'files/b.txt',\n  'files/c.txt',\n  'files/x',\n  'files/x/z.txt' ]\n```\n\n#### Filtering out directories\n\nYou can use the `mark` option to mark directories with a `/`, then you can:\n``` js\nfiles.filter(function(f) { return !/\\/$/.test(f); });\n```\n\n#### Performance\n\nInternally, `glob-all` uses the `statCache` option to prevent repeat lookups across multiple patterns.\n\n#### Todo\n\n* Implement `abort()`\n* Add tests\n\n#### Contributing\n\n* edit `glob-all.js`\n* `npm test`\n\n#### MIT License\n\nCopyright &copy; 2014 Jaime Pillora &lt;dev@jpillora.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_attachments":{},"homepage":"https://github.com/jpillora/node-glob-all#readme","bugs":{"url":"https://github.com/jpillora/node-glob-all/issues"},"license":"MIT"}