motion
Version:
motion - moving development forward
120 lines (119 loc) • 4.44 kB
JSON
{
"_args": [
[
"globby@https://registry.npmjs.org/globby/-/globby-4.0.0.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "globby@4.0.0",
"_id": "globby@4.0.0",
"_inCache": true,
"_location": "/globby",
"_phantomChildren": {
"inflight": "1.0.4",
"inherits": "2.0.1",
"minimatch": "2.0.10",
"once": "1.3.3",
"path-is-absolute": "1.0.0"
},
"_requested": {
"name": "globby",
"raw": "globby@https://registry.npmjs.org/globby/-/globby-4.0.0.tgz",
"rawSpec": "https://registry.npmjs.org/globby/-/globby-4.0.0.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/globby/-/globby-4.0.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/globby/-/globby-4.0.0.tgz",
"_shasum": "36ff06c5a9dc1dbc201f700074992882857e9817",
"_shrinkwrap": null,
"_spec": "globby@https://registry.npmjs.org/globby/-/globby-4.0.0.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/globby/issues"
},
"dependencies": {
"array-union": "^1.0.1",
"arrify": "^1.0.0",
"glob": "^6.0.1",
"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": {
"glob-stream": "github:wearefractal/glob-stream#master",
"globby": "github:sindresorhus/globby#master",
"matcha": "^0.6.0",
"mocha": "*",
"rimraf": "^2.2.8",
"xo": "*"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"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",
"promise",
"traverse",
"util",
"utility",
"wildcard",
"wildcards"
],
"license": "MIT",
"name": "globby",
"optionalDependencies": {},
"readme": "# globby [](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 that resolves to an array of matching paths.\n\n### globby.sync(patterns, [options])\n\nReturns an array of matching paths.\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\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/globby.git"
},
"scripts": {
"bench": "npm update globby glob-stream && matcha bench.js",
"test": "xo && mocha"
},
"version": "4.0.0",
"xo": {
"envs": [
"mocha",
"node"
]
}
}