Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/promise-inflight.json

raw
1 {
2 "_id": "promise-inflight",
3 "_rev": "3-7eb34267282ff91218ae3c9ec106229a",
4 "name": "promise-inflight",
5 "description": "One promise for multiple requests in flight to avoid async duplication",
6 "dist-tags": {
7 "latest": "1.0.1"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "promise-inflight",
12 "version": "1.0.0",
13 "description": "One promise for multiple requests in flight to avoid async duplication",
14 "main": "inflight.js",
15 "files": [
16 "inflight.js"
17 ],
18 "license": "ISC",
19 "scripts": {
20 "test": "echo \"Error: no test specified\" && exit 1"
21 },
22 "keywords": [],
23 "author": {
24 "name": "Rebecca Turner",
25 "email": "[email protected]",
26 "url": "http://re-becca.org/"
27 },
28 "dependencies": {
29 "bluebird": "^3.4.7"
30 },
31 "devDependencies": {},
32 "repository": {
33 "type": "git",
34 "url": "git+https://github.com/iarna/promise-inflight.git"
35 },
36 "bugs": {
37 "url": "https://github.com/iarna/promise-inflight/issues"
38 },
39 "homepage": "https://github.com/iarna/promise-inflight#readme",
40 "gitHead": "38661dbd9f72c10f0553aa3c090a1c2bac7982f5",
41 "_id": "[email protected]",
42 "_shasum": "94d19b043a508a584969bb15f675810569dbbb50",
43 "_from": ".",
44 "_npmVersion": "4.4.0",
45 "_nodeVersion": "4.6.1",
46 "_npmUser": {
47 "name": "iarna",
48 "email": "[email protected]"
49 },
50 "dist": {
51 "shasum": "94d19b043a508a584969bb15f675810569dbbb50",
52 "tarball": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.0.tgz"
53 },
54 "maintainers": [
55 {
56 "name": "iarna",
57 "email": "[email protected]"
58 }
59 ],
60 "_npmOperationalInternal": {
61 "host": "packages-12-west.internal.npmjs.com",
62 "tmp": "tmp/promise-inflight-1.0.0.tgz_1487994041894_0.7610008751507849"
63 },
64 "directories": {}
65 },
66 "1.0.1": {
67 "name": "promise-inflight",
68 "version": "1.0.1",
69 "description": "One promise for multiple requests in flight to avoid async duplication",
70 "main": "inflight.js",
71 "files": [
72 "inflight.js"
73 ],
74 "license": "ISC",
75 "scripts": {
76 "test": "echo \"Error: no test specified\" && exit 1"
77 },
78 "keywords": [],
79 "author": {
80 "name": "Rebecca Turner",
81 "email": "[email protected]",
82 "url": "http://re-becca.org/"
83 },
84 "devDependencies": {},
85 "repository": {
86 "type": "git",
87 "url": "git+https://github.com/iarna/promise-inflight.git"
88 },
89 "bugs": {
90 "url": "https://github.com/iarna/promise-inflight/issues"
91 },
92 "homepage": "https://github.com/iarna/promise-inflight#readme",
93 "gitHead": "9de9f26d8ecfe28d067cbd84630676dfea415e4a",
94 "_id": "[email protected]",
95 "_shasum": "98472870bf228132fcbdd868129bad12c3c029e3",
96 "_from": ".",
97 "_npmVersion": "4.4.0",
98 "_nodeVersion": "4.6.1",
99 "_npmUser": {
100 "name": "iarna",
101 "email": "[email protected]"
102 },
103 "dist": {
104 "shasum": "98472870bf228132fcbdd868129bad12c3c029e3",
105 "tarball": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz"
106 },
107 "maintainers": [
108 {
109 "name": "iarna",
110 "email": "[email protected]"
111 }
112 ],
113 "_npmOperationalInternal": {
114 "host": "packages-12-west.internal.npmjs.com",
115 "tmp": "tmp/promise-inflight-1.0.1.tgz_1488077339544_0.4008405189961195"
116 },
117 "directories": {}
118 }
119 },
120 "readme": "# promise-inflight\n\nOne promise for multiple requests in flight to avoid async duplication\n\n## USAGE\n\n```javascript\nconst inflight = require('promise-inflight')\n\n// some request that does some stuff\nfunction req(key) {\n // key is any random string. like a url or filename or whatever.\n return inflight(key, () => {\n // this is where you'd fetch the url or whatever\n return Promise.delay(100)\n })\n}\n\n// only assigns a single setTimeout\n// when it dings, all thens get called with the same result. (There's only\n// one underlying promise.)\nreq('foo').then(…)\nreq('foo').then(…)\nreq('foo').then(…)\nreq('foo').then(…)\n```\n\n## SEE ALSO\n\n* [inflight](https://npmjs.com/package/inflight) - For the callback based function on which this is based.\n\n## STILL NEEDS\n\nTests!\n",
121 "maintainers": [
122 {
123 "name": "iarna",
124 "email": "[email protected]"
125 }
126 ],
127 "time": {
128 "modified": "2017-08-14T22:43:57.269Z",
129 "created": "2017-02-25T03:40:42.163Z",
130 "1.0.0": "2017-02-25T03:40:42.163Z",
131 "1.0.1": "2017-02-26T02:48:59.798Z"
132 },
133 "homepage": "https://github.com/iarna/promise-inflight#readme",
134 "keywords": [],
135 "repository": {
136 "type": "git",
137 "url": "git+https://github.com/iarna/promise-inflight.git"
138 },
139 "author": {
140 "name": "Rebecca Turner",
141 "email": "[email protected]",
142 "url": "http://re-becca.org/"
143 },
144 "bugs": {
145 "url": "https://github.com/iarna/promise-inflight/issues"
146 },
147 "license": "ISC",
148 "readmeFilename": "README.md",
149 "users": {
150 "iarna": true
151 },
152 "_attachments": {}
153 }