108 lines
6.5 KiB
JSON
108 lines
6.5 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "glob-promise@^3.3.0",
|
|
"scope": null,
|
|
"escapedName": "glob-promise",
|
|
"name": "glob-promise",
|
|
"rawSpec": "^3.3.0",
|
|
"spec": ">=3.3.0 <4.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl"
|
|
]
|
|
],
|
|
"_from": "glob-promise@>=3.3.0 <4.0.0",
|
|
"_id": "glob-promise@3.3.0",
|
|
"_inCache": true,
|
|
"_location": "/glob-promise",
|
|
"_nodeVersion": "8.9.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/glob-promise-3.3.0.tgz_1509493440134_0.6489159716293216"
|
|
},
|
|
"_npmUser": {
|
|
"name": "ahmadnassri",
|
|
"email": "ahmad@ahmadnassri.com"
|
|
},
|
|
"_npmVersion": "5.5.1",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "glob-promise@^3.3.0",
|
|
"scope": null,
|
|
"escapedName": "glob-promise",
|
|
"name": "glob-promise",
|
|
"rawSpec": "^3.3.0",
|
|
"spec": ">=3.3.0 <4.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/xdl"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/glob-promise/-/glob-promise-3.3.0.tgz",
|
|
"_shasum": "d1eb3625c4e6dcbb9b96eeae4425d5a3b135fed2",
|
|
"_shrinkwrap": null,
|
|
"_spec": "glob-promise@^3.3.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl",
|
|
"author": {
|
|
"name": "Ahmad Nassri",
|
|
"email": "ahmad@ahmadnassri.com",
|
|
"url": "https://www.ahmadnassri.com/"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ahmadnassri/glob-promise/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "Promise version of glob",
|
|
"devDependencies": {
|
|
"echint": "^4.0.1",
|
|
"standard": "^10.0.3",
|
|
"tap": "^10.7.2"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"integrity": "sha512-X5VIEO/yy5NH3p9ORhlNodakQo/cK4I0lCtARNeAkWueJiToew5Xs9DiukVKsW5dgpjnnQgou9Rbj3HUkM6OUw==",
|
|
"shasum": "d1eb3625c4e6dcbb9b96eeae4425d5a3b135fed2",
|
|
"tarball": "https://registry.npmjs.org/glob-promise/-/glob-promise-3.3.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"gitHead": "93a7d4568de54dbcfc74f313dad7ab99ce0e6949",
|
|
"homepage": "https://github.com/ahmadnassri/glob-promise",
|
|
"keywords": [
|
|
"glob",
|
|
"promise"
|
|
],
|
|
"license": "ISC",
|
|
"main": "lib/index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "ahmadnassri",
|
|
"email": "ahmad@ahmadnassri.com"
|
|
}
|
|
],
|
|
"name": "glob-promise",
|
|
"optionalDependencies": {},
|
|
"peerDependencies": {
|
|
"glob": "*"
|
|
},
|
|
"readme": "# glob-promise [![version][npm-version]][npm-url] [![License][license-image]][license-url]\n\n[`Promise`][Promise] version of [`glob`][glob]\n\n> Match files using the patterns the shell uses, like stars and stuff.\n\n[![Build Status][travis-image]][travis-url]\n[![Downloads][npm-downloads]][npm-url]\n[![Code Climate][codeclimate-quality]][codeclimate-url]\n[![Coverage Status][codeclimate-coverage]][codeclimate-url]\n[![Dependency Status][dependencyci-image]][dependencyci-url]\n[![Dependencies][david-image]][david-url]\n\n## Install\n\n```bash\n# using yarn\n$ yarn add glob-promise\n\n# using npm\n$ npm install --only=production --save glob-promise\n```\n\n###### NOTE: \n\n[`glob`][glob] is set as a `peerDependency` in [`package.json`](package.json)\n\n- `npm` <= `2` will automatically install `peerDependencies` if they are not explicitly depended upon higher in the dependency tree.\n- `npm` >= 3 will no longer automatically install `peerDependencies`.\n\nYou will need to manually add `glob` as a dependency to your project for `glob-promise` to work.\n\n## API\n\n### `glob(pattern [, options])`\n\nAlias for `glob.promise`\n\n### `glob.promise(pattern [, options])`\n\n_pattern_: `String` (glob pattern)\n_options_: `Object` or `String`\nReturn: `Object` ([Promise])\n\nWhen it finishes, it will be [_fulfilled_](http://promisesaplus.com/#point-26) with an `Array` of filenames as its first argument.\n\nWhen it fails to read the files, it will be [_rejected_](http://promisesaplus.com/#point-30) with an error as its first argument.\n\n```js\nglob('**/*')\n .then(function(contents) {\n contents; //=> ['lorem', 'ipsum', 'dolor']\n });\n\nglob('{foo,bar.baz}.txt', { nobrace: true })\n .then(function(contents) {\n contents; //=> []\n });\n```\n\n### `glob.glob(pattern [, options], cb)`\n\n> see [`glob`](https://github.com/isaacs/node-glob#globpattern-options-cb)\n\n### `glob.sync(pattern [, options])`\n\n> see [`glob.sync()`](https://github.com/isaacs/node-glob#globsyncpattern-options)\n\n### `glob.hasMagic(pattern, [options])`\n\n> see [`glob.hasMagic()`](https://github.com/isaacs/node-glob#globhasmagicpattern-options)\n\n### `Class: glob.Glob`\n\n> see [`Glob`](https://github.com/isaacs/node-glob#class-globglob)\n\n\n#### options\n\nThe option object will be directly passed to [glob](https://github.com/isaacs/node-glob#options).\n\n---\n> :copyright: [ahmadnassri.com](https://www.ahmadnassri.com/) · \n> License: [ISC][license-url] · \n> Github: [@ahmadnassri](https://github.com/ahmadnassri) · \n> Twitter: [@ahmadnassri](https://twitter.com/ahmadnassri)\n\n[license-url]: http://choosealicense.com/licenses/isc/\n[license-image]: https://img.shields.io/github/license/ahmadnassri/glob-promise.svg?style=flat-square\n\n[travis-url]: https://travis-ci.org/ahmadnassri/glob-promise\n[travis-image]: https://img.shields.io/travis/ahmadnassri/glob-promise.svg?style=flat-square\n\n[npm-url]: https://www.npmjs.com/package/glob-promise\n[npm-version]: https://img.shields.io/npm/v/glob-promise.svg?style=flat-square\n[npm-downloads]: https://img.shields.io/npm/dm/glob-promise.svg?style=flat-square\n\n[codeclimate-url]: https://codeclimate.com/github/ahmadnassri/glob-promise\n[codeclimate-quality]: https://img.shields.io/codeclimate/github/ahmadnassri/glob-promise.svg?style=flat-square\n[codeclimate-coverage]: https://img.shields.io/codeclimate/coverage/github/ahmadnassri/glob-promise.svg?style=flat-square\n\n[david-url]: https://david-dm.org/ahmadnassri/glob-promise\n[david-image]: https://img.shields.io/david/ahmadnassri/glob-promise.svg?style=flat-square\n\n[dependencyci-url]: https://dependencyci.com/github/ahmadnassri/glob-promise\n[dependencyci-image]: https://dependencyci.com/github/ahmadnassri/glob-promise/badge?style=flat-square\n\n[glob]: https://github.com/isaacs/node-glob\n[Promise]: http://promisesaplus.com/\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ahmadnassri/glob-promise.git"
|
|
},
|
|
"scripts": {
|
|
"coverage": "tap test --reporter silent --coverage",
|
|
"lint": "standard && echint",
|
|
"pretest": "npm run lint",
|
|
"test": "tap test"
|
|
},
|
|
"version": "3.3.0"
|
|
}
|