-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.73 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"name": "is-promise",
"version": "1.0.1",
"description": "Test whether an object looks like a promises-a+ promise",
"main": "index.js",
"scripts": {
"test": "mocha -R spec"
},
"repository": {
"type": "git",
"url": "https://github.com/then/is-promise.git"
},
"author": {
"name": "ForbesLindesay"
},
"license": "MIT",
"devDependencies": {
"better-assert": "~0.1.0",
"mocha": "~1.7.4"
},
"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>\r\n# is-promise\r\n\r\n Test whether an object looks like a promises-a+ promise\r\n\r\n [![Build Status](https://img.shields.io/travis/then/is-promise/master.svg)](https://travis-ci.org/then/is-promise)\r\n [![Dependency Status](https://img.shields.io/gemnasium/then/is-promise.svg)](https://gemnasium.com/then/is-promise)\r\n [![NPM version](https://img.shields.io/npm/v/is-promise.svg)](https://www.npmjs.org/package/is-promise)\r\n\r\n## Installation\r\n\r\n $ npm install is-promise\r\n\r\nYou can also use it client side via npm.\r\n\r\n## API\r\n\r\n```javascript\r\nvar isPromise = require('is-promise');\r\n\r\nisPromise({then:function () {...}});//=>true\r\nisPromise(null);//=>false\r\nisPromise({});//=>false\r\nisPromise({then: true})//=>false\r\n```\r\n\r\n## License\r\n\r\n MIT\r\n",
"readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/then/is-promise/issues"
},
"homepage": "https://github.com/then/is-promise",
"_id": "is-promise@1.0.1",
"_shasum": "31573761c057e33c2e91aab9e96da08cefbe76e5",
"_from": "is-promise@~1",
"_resolved": "https://registry.npmjs.org/is-promise/-/is-promise-1.0.1.tgz"
}