{ "_args": [ [ { "raw": "globby@^6.1.0", "scope": null, "escapedName": "globby", "name": "globby", "rawSpec": "^6.1.0", "spec": ">=6.1.0 <7.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl" ] ], "_from": "globby@>=6.1.0 <7.0.0", "_id": "globby@6.1.0", "_inCache": true, "_location": "/globby", "_nodeVersion": "4.6.1", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/globby-6.1.0.tgz_1478246824721_0.12834556330926716" }, "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "_npmVersion": "2.15.9", "_phantomChildren": { "fs.realpath": "1.0.0", "inflight": "1.0.6", "inherits": "2.0.3", "minimatch": "3.0.4", "once": "1.4.0", "path-is-absolute": "1.0.1" }, "_requested": { "raw": "globby@^6.1.0", "scope": null, "escapedName": "globby", "name": "globby", "rawSpec": "^6.1.0", "spec": ">=6.1.0 <7.0.0", "type": "range" }, "_requiredBy": [ "/xdl" ], "_resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", "_shasum": "f5a6d70e8395e21c858fb0489d64df02424d506c", "_shrinkwrap": null, "_spec": "globby@^6.1.0", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/globby/issues" }, "dependencies": { "array-union": "^1.0.1", "glob": "^7.0.3", "object-assign": "^4.0.1", "pify": "^2.0.0", "pinkie-promise": "^2.0.0" }, "description": "Extends `glob` with support for multiple patterns and exposes a Promise API", "devDependencies": { "ava": "*", "glob-stream": "github:gulpjs/glob-stream#master", "globby": "github:sindresorhus/globby#master", "matcha": "^0.7.0", "rimraf": "^2.2.8", "xo": "^0.16.0" }, "directories": {}, "dist": { "shasum": "f5a6d70e8395e21c858fb0489d64df02424d506c", "tarball": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "gitHead": "5c647384e349e90a13658778029b96b28112a972", "homepage": "https://github.com/sindresorhus/globby#readme", "keywords": [ "all", "array", "directories", "dirs", "expand", "files", "filesystem", "filter", "find", "fnmatch", "folders", "fs", "glob", "globbing", "globs", "gulpfriendly", "match", "matcher", "minimatch", "multi", "multiple", "paths", "pattern", "patterns", "traverse", "util", "utility", "wildcard", "wildcards", "promise" ], "license": "MIT", "maintainers": [ { "name": "schnittstabil", "email": "michael@schnittstabil.de" }, { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, { "name": "ult_combo", "email": "ultcombo@gmail.com" } ], "name": "globby", "optionalDependencies": {}, "readme": "# globby [![Build Status](https://travis-ci.org/sindresorhus/globby.svg?branch=master)](https://travis-ci.org/sindresorhus/globby)\n\n> Extends [glob](https://github.com/isaacs/node-glob) with support for multiple patterns and exposes a Promise API\n\n\n## Install\n\n```\n$ npm install --save globby\n```\n\n\n## Usage\n\n```\n├── unicorn\n├── cake\n└── rainbow\n```\n\n```js\nconst globby = require('globby');\n\nglobby(['*', '!cake']).then(paths => {\n\tconsole.log(paths);\n\t//=> ['unicorn', 'rainbow']\n});\n```\n\n\n## API\n\n### globby(patterns, [options])\n\nReturns a Promise for an array of matching paths.\n\n### globby.sync(patterns, [options])\n\nReturns an array of matching paths.\n\n### globby.generateGlobTasks(patterns, [options])\n\nReturns an array of objects in the format `{ pattern: string, opts: Object }`, which can be passed as arguments to [`node-glob`](https://github.com/isaacs/node-glob). This is useful for other globbing-related packages.\n\nNote that you should avoid running the same tasks multiple times as they contain a file system cache. Instead, run this method each time to ensure file system changes are taken into consideration.\n\n### globby.hasMagic(patterns, [options])\n\nReturns a `boolean` of whether there are any special glob characters in the `patterns`.\n\nNote that the options affect the results. If `noext: true` is set, then `+(a|b)` will not be considered a magic pattern. If the pattern has a brace expansion, like `a/{b/c,x/y}`, then that is considered magical, unless `nobrace: true` is set.\n\n#### patterns\n\nType: `string` `Array`\n\nSee supported `minimatch` [patterns](https://github.com/isaacs/minimatch#usage).\n\n#### options\n\nType: `Object`\n\nSee the `node-glob` [options](https://github.com/isaacs/node-glob#options).\n\n\n## Globbing patterns\n\nJust a quick overview.\n\n- `*` matches any number of characters, but not `/`\n- `?` matches a single character, but not `/`\n- `**` matches any number of characters, including `/`, as long as it's the only thing in a path part\n- `{}` allows for a comma-separated list of \"or\" expressions\n- `!` at the beginning of a pattern will negate the match\n\n[Various patterns and expected matches.](https://github.com/sindresorhus/multimatch/blob/master/test.js)\n\n\n## Related\n\n- [multimatch](https://github.com/sindresorhus/multimatch) - Match against a list instead of the filesystem\n- [glob-stream](https://github.com/wearefractal/glob-stream) - Streaming alternative\n- [matcher](https://github.com/sindresorhus/matcher) - Simple wildcard matching\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/globby.git" }, "scripts": { "bench": "npm update glob-stream && matcha bench.js", "test": "xo && ava" }, "version": "6.1.0" }