84 lines
3.0 KiB
JSON
84 lines
3.0 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "is-promise@^2.1.0",
|
|
"scope": null,
|
|
"escapedName": "is-promise",
|
|
"name": "is-promise",
|
|
"rawSpec": "^2.1.0",
|
|
"spec": ">=2.1.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/run-async"
|
|
]
|
|
],
|
|
"_from": "is-promise@>=2.1.0 <3.0.0",
|
|
"_id": "is-promise@2.1.0",
|
|
"_inCache": true,
|
|
"_location": "/is-promise",
|
|
"_nodeVersion": "1.6.2",
|
|
"_npmUser": {
|
|
"name": "forbeslindesay",
|
|
"email": "forbes@lindesay.co.uk"
|
|
},
|
|
"_npmVersion": "2.7.1",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "is-promise@^2.1.0",
|
|
"scope": null,
|
|
"escapedName": "is-promise",
|
|
"name": "is-promise",
|
|
"rawSpec": "^2.1.0",
|
|
"spec": ">=2.1.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/run-async"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
|
|
"_shasum": "79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa",
|
|
"_shrinkwrap": null,
|
|
"_spec": "is-promise@^2.1.0",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/run-async",
|
|
"author": {
|
|
"name": "ForbesLindesay"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/then/is-promise/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "Test whether an object looks like a promises-a+ promise",
|
|
"devDependencies": {
|
|
"better-assert": "~0.1.0",
|
|
"mocha": "~1.7.4"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa",
|
|
"tarball": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz"
|
|
},
|
|
"gitHead": "056f8ac12eed91886ac4f0f7d872a176f6ed698f",
|
|
"homepage": "https://github.com/then/is-promise#readme",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "forbeslindesay",
|
|
"email": "forbes@lindesay.co.uk"
|
|
}
|
|
],
|
|
"name": "is-promise",
|
|
"optionalDependencies": {},
|
|
"readme": "<a href=\"http://promises-aplus.github.com/promises-spec\"><img src=\"http://promises-aplus.github.com/promises-spec/assets/logo-small.png\" align=\"right\" /></a>\n# is-promise\n\n Test whether an object looks like a promises-a+ promise\n\n [![Build Status](https://img.shields.io/travis/then/is-promise/master.svg)](https://travis-ci.org/then/is-promise)\n [![Dependency Status](https://img.shields.io/gemnasium/then/is-promise.svg)](https://gemnasium.com/then/is-promise)\n [![NPM version](https://img.shields.io/npm/v/is-promise.svg)](https://www.npmjs.org/package/is-promise)\n\n## Installation\n\n $ npm install is-promise\n\nYou can also use it client side via npm.\n\n## API\n\n```javascript\nvar isPromise = require('is-promise');\n\nisPromise({then:function () {...}});//=>true\nisPromise(null);//=>false\nisPromise({});//=>false\nisPromise({then: true})//=>false\n```\n\n## License\n\n MIT\n",
|
|
"readmeFilename": "readme.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/then/is-promise.git"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha -R spec"
|
|
},
|
|
"version": "2.1.0"
|
|
}
|