GT2/GT2-iOS/node_modules/p-try/package.json

113 lines
3.4 KiB
JSON

{
"_args": [
[
{
"raw": "p-try@^1.0.0",
"scope": null,
"escapedName": "p-try",
"name": "p-try",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/p-limit"
]
],
"_from": "p-try@>=1.0.0 <2.0.0",
"_id": "p-try@1.0.0",
"_inCache": true,
"_location": "/p-try",
"_nodeVersion": "4.6.0",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/p-try-1.0.0.tgz_1477030603238_0.5670752932783216"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "2.15.9",
"_phantomChildren": {},
"_requested": {
"raw": "p-try@^1.0.0",
"scope": null,
"escapedName": "p-try",
"name": "p-try",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/p-limit"
],
"_resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
"_shasum": "cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3",
"_shrinkwrap": null,
"_spec": "p-try@^1.0.0",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/p-limit",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/p-try/issues"
},
"dependencies": {},
"description": "`Promise#try()` ponyfill - Starts a promise chain",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3",
"tarball": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"gitHead": "8a6f2c232b80e12c138714e553fc8dd6313604c2",
"homepage": "https://github.com/sindresorhus/p-try#readme",
"keywords": [
"promise",
"try",
"resolve",
"function",
"catch",
"async",
"await",
"promises",
"settled",
"ponyfill",
"polyfill",
"shim",
"bluebird"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "p-try",
"optionalDependencies": {},
"readme": "# p-try [![Build Status](https://travis-ci.org/sindresorhus/p-try.svg?branch=master)](https://travis-ci.org/sindresorhus/p-try)\n\n> [`Promise#try()`](https://github.com/ljharb/proposal-promise-try) [ponyfill](https://ponyfill.com) - Starts a promise chain\n\n[How is it useful?](http://cryto.net/~joepie91/blog/2016/05/11/what-is-promise-try-and-why-does-it-matter/)\n\n\n## Install\n\n```\n$ npm install --save p-try\n```\n\n\n## Usage\n\n```js\nconst pTry = require('p-try');\n\npTry(() => {\n\treturn synchronousFunctionThatMightThrow();\n}).then(value => {\n\tconsole.log(value);\n}).catch(error => {\n\tconsole.error(error);\n});\n```\n\n\n## Related\n\n- [p-finally](https://github.com/sindresorhus/p-finally) - `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome\n- [More…](https://github.com/sindresorhus/promise-fun)\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/p-try.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "1.0.0",
"xo": {
"esnext": true
}
}