Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/pify.json

raw
1 {
2 "_id": "pify",
3 "_rev": "78-4bab967fbe00b715d55f01f1788968da",
4 "name": "pify",
5 "description": "Promisify a callback-style function",
6 "dist-tags": {
7 "latest": "5.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "pify",
12 "version": "1.0.0",
13 "description": "Promisify a callback-style function",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "https://github.com/sindresorhus/pify"
18 },
19 "author": {
20 "name": "Sindre Sorhus",
21 "email": "[email protected]",
22 "url": "sindresorhus.com"
23 },
24 "engines": {
25 "node": ">=0.12.0"
26 },
27 "scripts": {
28 "test": "xo && ava"
29 },
30 "files": [
31 "index.js"
32 ],
33 "keywords": [
34 "promise",
35 "promises",
36 "promisify",
37 "denodify",
38 "denodeify",
39 "callback",
40 "cb",
41 "node",
42 "then",
43 "thenify",
44 "convert",
45 "transform",
46 "wrap",
47 "wrapper",
48 "bind",
49 "to",
50 "async",
51 "es2015"
52 ],
53 "devDependencies": {
54 "ava": "*",
55 "pinkie-promise": "^1.0.0",
56 "xo": "*"
57 },
58 "gitHead": "9f9082534d0eff1f0bae57501e10c820342a4259",
59 "bugs": {
60 "url": "https://github.com/sindresorhus/pify/issues"
61 },
62 "homepage": "https://github.com/sindresorhus/pify",
63 "_id": "[email protected]",
64 "_shasum": "ef1490fdd87eb5f84c411507d72e2b535790bc4e",
65 "_from": ".",
66 "_npmVersion": "2.11.3",
67 "_nodeVersion": "0.12.7",
68 "_npmUser": {
69 "name": "sindresorhus",
70 "email": "[email protected]"
71 },
72 "dist": {
73 "shasum": "ef1490fdd87eb5f84c411507d72e2b535790bc4e",
74 "tarball": "https://registry.npmjs.org/pify/-/pify-1.0.0.tgz"
75 },
76 "maintainers": [
77 {
78 "name": "sindresorhus",
79 "email": "[email protected]"
80 }
81 ],
82 "directories": {}
83 },
84 "1.1.0": {
85 "name": "pify",
86 "version": "1.1.0",
87 "description": "Promisify a callback-style function",
88 "license": "MIT",
89 "repository": {
90 "type": "git",
91 "url": "https://github.com/sindresorhus/pify"
92 },
93 "author": {
94 "name": "Sindre Sorhus",
95 "email": "[email protected]",
96 "url": "sindresorhus.com"
97 },
98 "engines": {
99 "node": ">=0.12.0"
100 },
101 "scripts": {
102 "test": "xo && ava"
103 },
104 "files": [
105 "index.js"
106 ],
107 "keywords": [
108 "promise",
109 "promises",
110 "promisify",
111 "denodify",
112 "denodeify",
113 "callback",
114 "cb",
115 "node",
116 "then",
117 "thenify",
118 "convert",
119 "transform",
120 "wrap",
121 "wrapper",
122 "bind",
123 "to",
124 "async",
125 "es2015"
126 ],
127 "devDependencies": {
128 "ava": "*",
129 "pinkie-promise": "^1.0.0",
130 "xo": "*"
131 },
132 "gitHead": "e8c4e6f46cbd20d4886da5ef748c2c8863fa8767",
133 "bugs": {
134 "url": "https://github.com/sindresorhus/pify/issues"
135 },
136 "homepage": "https://github.com/sindresorhus/pify",
137 "_id": "[email protected]",
138 "_shasum": "0b89b22c63d089de78f9668e2148165e85b10674",
139 "_from": ".",
140 "_npmVersion": "2.11.3",
141 "_nodeVersion": "0.12.7",
142 "_npmUser": {
143 "name": "sindresorhus",
144 "email": "[email protected]"
145 },
146 "dist": {
147 "shasum": "0b89b22c63d089de78f9668e2148165e85b10674",
148 "tarball": "https://registry.npmjs.org/pify/-/pify-1.1.0.tgz"
149 },
150 "maintainers": [
151 {
152 "name": "sindresorhus",
153 "email": "[email protected]"
154 }
155 ],
156 "directories": {}
157 },
158 "1.1.1": {
159 "name": "pify",
160 "version": "1.1.1",
161 "description": "Promisify a callback-style function",
162 "license": "MIT",
163 "repository": {
164 "type": "git",
165 "url": "git+https://github.com/sindresorhus/pify.git"
166 },
167 "author": {
168 "name": "Sindre Sorhus",
169 "email": "[email protected]",
170 "url": "sindresorhus.com"
171 },
172 "engines": {
173 "node": ">=0.10.0"
174 },
175 "scripts": {
176 "test": "xo && ava"
177 },
178 "files": [
179 "index.js"
180 ],
181 "keywords": [
182 "promise",
183 "promises",
184 "promisify",
185 "denodify",
186 "denodeify",
187 "callback",
188 "cb",
189 "node",
190 "then",
191 "thenify",
192 "convert",
193 "transform",
194 "wrap",
195 "wrapper",
196 "bind",
197 "to",
198 "async",
199 "es2015"
200 ],
201 "devDependencies": {
202 "ava": "*",
203 "pinkie-promise": "^1.0.0",
204 "xo": "*"
205 },
206 "gitHead": "e40e7d47d41acaf51dcea2299e583fea6c0157a8",
207 "bugs": {
208 "url": "https://github.com/sindresorhus/pify/issues"
209 },
210 "homepage": "https://github.com/sindresorhus/pify#readme",
211 "_id": "[email protected]",
212 "_shasum": "d06afb0e685893d6c16566d1f819b5ede2b33a29",
213 "_from": ".",
214 "_npmVersion": "2.14.1",
215 "_nodeVersion": "0.12.7",
216 "_npmUser": {
217 "name": "sindresorhus",
218 "email": "[email protected]"
219 },
220 "dist": {
221 "shasum": "d06afb0e685893d6c16566d1f819b5ede2b33a29",
222 "tarball": "https://registry.npmjs.org/pify/-/pify-1.1.1.tgz"
223 },
224 "maintainers": [
225 {
226 "name": "sindresorhus",
227 "email": "[email protected]"
228 }
229 ],
230 "directories": {}
231 },
232 "2.0.0": {
233 "name": "pify",
234 "version": "2.0.0",
235 "description": "Promisify a callback-style function",
236 "license": "MIT",
237 "repository": {
238 "type": "git",
239 "url": "https://github.com/sindresorhus/pify"
240 },
241 "author": {
242 "name": "Sindre Sorhus",
243 "email": "[email protected]",
244 "url": "sindresorhus.com"
245 },
246 "engines": {
247 "node": ">=0.10.0"
248 },
249 "scripts": {
250 "test": "xo && ava"
251 },
252 "files": [
253 "index.js"
254 ],
255 "keywords": [
256 "promise",
257 "promises",
258 "promisify",
259 "denodify",
260 "denodeify",
261 "callback",
262 "cb",
263 "node",
264 "then",
265 "thenify",
266 "convert",
267 "transform",
268 "wrap",
269 "wrapper",
270 "bind",
271 "to",
272 "async",
273 "es2015"
274 ],
275 "devDependencies": {
276 "ava": "*",
277 "pinkie-promise": "^1.0.0",
278 "xo": "*"
279 },
280 "gitHead": "1498ffad69776d3906f0ef177f861d8e82ae8be7",
281 "bugs": {
282 "url": "https://github.com/sindresorhus/pify/issues"
283 },
284 "homepage": "https://github.com/sindresorhus/pify",
285 "_id": "[email protected]",
286 "_shasum": "7caa2a72d2c4a5ebb9f4db1cfcc5bf5ea0c10264",
287 "_from": ".",
288 "_npmVersion": "2.11.3",
289 "_nodeVersion": "0.12.7",
290 "_npmUser": {
291 "name": "sindresorhus",
292 "email": "[email protected]"
293 },
294 "dist": {
295 "shasum": "7caa2a72d2c4a5ebb9f4db1cfcc5bf5ea0c10264",
296 "tarball": "https://registry.npmjs.org/pify/-/pify-2.0.0.tgz"
297 },
298 "maintainers": [
299 {
300 "name": "sindresorhus",
301 "email": "[email protected]"
302 }
303 ],
304 "directories": {}
305 },
306 "2.1.0": {
307 "name": "pify",
308 "version": "2.1.0",
309 "description": "Promisify a callback-style function",
310 "license": "MIT",
311 "repository": {
312 "type": "git",
313 "url": "https://github.com/sindresorhus/pify"
314 },
315 "author": {
316 "name": "Sindre Sorhus",
317 "email": "[email protected]",
318 "url": "sindresorhus.com"
319 },
320 "engines": {
321 "node": ">=0.10.0"
322 },
323 "scripts": {
324 "test": "xo && ava"
325 },
326 "files": [
327 "index.js"
328 ],
329 "keywords": [
330 "promise",
331 "promises",
332 "promisify",
333 "denodify",
334 "denodeify",
335 "callback",
336 "cb",
337 "node",
338 "then",
339 "thenify",
340 "convert",
341 "transform",
342 "wrap",
343 "wrapper",
344 "bind",
345 "to",
346 "async",
347 "es2015"
348 ],
349 "devDependencies": {
350 "ava": "*",
351 "pinkie-promise": "^1.0.0",
352 "xo": "*"
353 },
354 "gitHead": "9b0d12e83b849f4b75264cf08e0bfcf93c85d346",
355 "bugs": {
356 "url": "https://github.com/sindresorhus/pify/issues"
357 },
358 "homepage": "https://github.com/sindresorhus/pify",
359 "_id": "[email protected]",
360 "_shasum": "093996c0190b737612e3519fd24c7147166fcb6e",
361 "_from": ".",
362 "_npmVersion": "2.13.3",
363 "_nodeVersion": "3.0.0",
364 "_npmUser": {
365 "name": "sindresorhus",
366 "email": "[email protected]"
367 },
368 "dist": {
369 "shasum": "093996c0190b737612e3519fd24c7147166fcb6e",
370 "tarball": "https://registry.npmjs.org/pify/-/pify-2.1.0.tgz"
371 },
372 "maintainers": [
373 {
374 "name": "sindresorhus",
375 "email": "[email protected]"
376 }
377 ],
378 "directories": {}
379 },
380 "2.2.0": {
381 "name": "pify",
382 "version": "2.2.0",
383 "description": "Promisify a callback-style function",
384 "license": "MIT",
385 "repository": {
386 "type": "git",
387 "url": "git+https://github.com/sindresorhus/pify.git"
388 },
389 "author": {
390 "name": "Sindre Sorhus",
391 "email": "[email protected]",
392 "url": "sindresorhus.com"
393 },
394 "engines": {
395 "node": ">=0.10.0"
396 },
397 "scripts": {
398 "test": "xo && ava"
399 },
400 "files": [
401 "index.js"
402 ],
403 "keywords": [
404 "promise",
405 "promises",
406 "promisify",
407 "denodify",
408 "denodeify",
409 "callback",
410 "cb",
411 "node",
412 "then",
413 "thenify",
414 "convert",
415 "transform",
416 "wrap",
417 "wrapper",
418 "bind",
419 "to",
420 "async",
421 "es2015"
422 ],
423 "devDependencies": {
424 "ava": "*",
425 "pinkie-promise": "^1.0.0",
426 "xo": "*"
427 },
428 "gitHead": "665ffa9dcac562c59187279b0220300aa21740b0",
429 "bugs": {
430 "url": "https://github.com/sindresorhus/pify/issues"
431 },
432 "homepage": "https://github.com/sindresorhus/pify#readme",
433 "_id": "[email protected]",
434 "_shasum": "c65e870246c78b5a4ce6c0a6f35048c9aecd6cff",
435 "_from": ".",
436 "_npmVersion": "2.14.2",
437 "_nodeVersion": "4.0.0",
438 "_npmUser": {
439 "name": "sindresorhus",
440 "email": "[email protected]"
441 },
442 "dist": {
443 "shasum": "c65e870246c78b5a4ce6c0a6f35048c9aecd6cff",
444 "tarball": "https://registry.npmjs.org/pify/-/pify-2.2.0.tgz"
445 },
446 "maintainers": [
447 {
448 "name": "sindresorhus",
449 "email": "[email protected]"
450 }
451 ],
452 "directories": {}
453 },
454 "2.3.0": {
455 "name": "pify",
456 "version": "2.3.0",
457 "description": "Promisify a callback-style function",
458 "license": "MIT",
459 "repository": {
460 "type": "git",
461 "url": "https://github.com/sindresorhus/pify"
462 },
463 "author": {
464 "name": "Sindre Sorhus",
465 "email": "[email protected]",
466 "url": "sindresorhus.com"
467 },
468 "engines": {
469 "node": ">=0.10.0"
470 },
471 "scripts": {
472 "test": "xo && ava && npm run optimization-test",
473 "optimization-test": "node --allow-natives-syntax optimization-test.js"
474 },
475 "files": [
476 "index.js"
477 ],
478 "keywords": [
479 "promise",
480 "promises",
481 "promisify",
482 "denodify",
483 "denodeify",
484 "callback",
485 "cb",
486 "node",
487 "then",
488 "thenify",
489 "convert",
490 "transform",
491 "wrap",
492 "wrapper",
493 "bind",
494 "to",
495 "async",
496 "es2015"
497 ],
498 "devDependencies": {
499 "ava": "*",
500 "pinkie-promise": "^1.0.0",
501 "v8-natives": "0.0.2",
502 "xo": "*"
503 },
504 "gitHead": "2dd0d8b880e4ebcc5cc33ae126b02647418e4440",
505 "bugs": {
506 "url": "https://github.com/sindresorhus/pify/issues"
507 },
508 "homepage": "https://github.com/sindresorhus/pify",
509 "_id": "[email protected]",
510 "_shasum": "ed141a6ac043a849ea588498e7dca8b15330e90c",
511 "_from": ".",
512 "_npmVersion": "2.14.7",
513 "_nodeVersion": "4.2.1",
514 "_npmUser": {
515 "name": "sindresorhus",
516 "email": "[email protected]"
517 },
518 "dist": {
519 "shasum": "ed141a6ac043a849ea588498e7dca8b15330e90c",
520 "tarball": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz"
521 },
522 "maintainers": [
523 {
524 "name": "sindresorhus",
525 "email": "[email protected]"
526 }
527 ],
528 "directories": {}
529 },
530 "3.0.0": {
531 "name": "pify",
532 "version": "3.0.0",
533 "description": "Promisify a callback-style function",
534 "license": "MIT",
535 "repository": {
536 "type": "git",
537 "url": "git+https://github.com/sindresorhus/pify.git"
538 },
539 "author": {
540 "name": "Sindre Sorhus",
541 "email": "[email protected]",
542 "url": "sindresorhus.com"
543 },
544 "engines": {
545 "node": ">=4"
546 },
547 "scripts": {
548 "test": "xo && ava && npm run optimization-test",
549 "optimization-test": "node --allow-natives-syntax optimization-test.js"
550 },
551 "files": [
552 "index.js"
553 ],
554 "keywords": [
555 "promise",
556 "promises",
557 "promisify",
558 "all",
559 "denodify",
560 "denodeify",
561 "callback",
562 "cb",
563 "node",
564 "then",
565 "thenify",
566 "convert",
567 "transform",
568 "wrap",
569 "wrapper",
570 "bind",
571 "to",
572 "async",
573 "await",
574 "es2015",
575 "bluebird"
576 ],
577 "devDependencies": {
578 "ava": "*",
579 "pinkie-promise": "^2.0.0",
580 "v8-natives": "^1.0.0",
581 "xo": "*"
582 },
583 "gitHead": "e64328eb378e2ecd6bf8c0eb40aa3277680aaff4",
584 "bugs": {
585 "url": "https://github.com/sindresorhus/pify/issues"
586 },
587 "homepage": "https://github.com/sindresorhus/pify#readme",
588 "_id": "[email protected]",
589 "_shasum": "e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176",
590 "_from": ".",
591 "_npmVersion": "2.15.11",
592 "_nodeVersion": "4.8.3",
593 "_npmUser": {
594 "name": "sindresorhus",
595 "email": "[email protected]"
596 },
597 "dist": {
598 "shasum": "e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176",
599 "tarball": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz"
600 },
601 "maintainers": [
602 {
603 "name": "sindresorhus",
604 "email": "[email protected]"
605 }
606 ],
607 "_npmOperationalInternal": {
608 "host": "s3://npm-registry-packages",
609 "tmp": "tmp/pify-3.0.0.tgz_1495952727749_0.4502641425933689"
610 },
611 "directories": {}
612 },
613 "4.0.0": {
614 "name": "pify",
615 "version": "4.0.0",
616 "description": "Promisify a callback-style function",
617 "license": "MIT",
618 "repository": {
619 "type": "git",
620 "url": "git+https://github.com/sindresorhus/pify.git"
621 },
622 "author": {
623 "name": "Sindre Sorhus",
624 "email": "[email protected]",
625 "url": "sindresorhus.com"
626 },
627 "engines": {
628 "node": ">=6"
629 },
630 "scripts": {
631 "test": "xo && ava",
632 "optimization-test": "node --allow-natives-syntax optimization-test.js"
633 },
634 "files": [
635 "index.js"
636 ],
637 "keywords": [
638 "promise",
639 "promises",
640 "promisify",
641 "all",
642 "denodify",
643 "denodeify",
644 "callback",
645 "cb",
646 "node",
647 "then",
648 "thenify",
649 "convert",
650 "transform",
651 "wrap",
652 "wrapper",
653 "bind",
654 "to",
655 "async",
656 "await",
657 "es2015",
658 "bluebird"
659 ],
660 "devDependencies": {
661 "ava": "*",
662 "pinkie-promise": "^2.0.0",
663 "v8-natives": "^1.1.0",
664 "xo": "*"
665 },
666 "gitHead": "67f6c41e8deb55b12ff7bbd96a689eb464a8a0ac",
667 "bugs": {
668 "url": "https://github.com/sindresorhus/pify/issues"
669 },
670 "homepage": "https://github.com/sindresorhus/pify#readme",
671 "_id": "[email protected]",
672 "_npmVersion": "6.3.0",
673 "_nodeVersion": "8.11.3",
674 "_npmUser": {
675 "name": "sindresorhus",
676 "email": "[email protected]"
677 },
678 "dist": {
679 "integrity": "sha512-zrSP/KDf9DH3K3VePONoCstgPiYJy9z0SCatZuTpOc7YdnWIqwkWdXOuwlr4uDc7em8QZRsFWsT/685x5InjYg==",
680 "shasum": "db04c982b632fd0df9090d14aaf1c8413cadb695",
681 "tarball": "https://registry.npmjs.org/pify/-/pify-4.0.0.tgz",
682 "fileCount": 4,
683 "unpackedSize": 6765,
684 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbEZxCRA9TVsSAnZWagAA7D8P/1CZgTqUCZJomco/fQ+y\nQA7/2NQ72MV2DHXmSBo/2E4VrP3U6ag8hnWYFuT1HLEfo5xXyf74QNQulHU9\nx/rHy+ZzJDDePTW+T1cXz+bcP5mo9knZf+OsLJN18Cy0n+C+DA6TO2v5EsWk\naA+e765et0VYh57RY93+90pZChNnBz838nHxB7YIaD95vftsbhV5hYNYrQaV\nRqS0PfARYewd04nCTWvP95b1iOhiJ3yoO4XQE+hdI4s+3VTqVniey3ccBkUe\n4E5MbuJhcQzOq1lA9MGftn05EMCLwA+ttAF1+V3YA1tG8wn4qpwG6rMbGKna\n3H77dQ/MdgQhsOBf2FMCkWVW5JTNnAecXpJ5jlF180D2OL7jB/K6f8TzTmUh\n8vd49L97uECzp/TH7EsqRIofRTXssTTrTWP1/uIYEsS0VjpqMr/JF6RXw7Dj\nlwVgQ5JkrkQL8wV5q1Li3+yQOIsVlIQcu+JnK98rVuShzSCWNTHyI48yN6Y0\nkShA3fQnFRRCknOBnpa5TMjYwzissxWa2NQjn0mF5kFMd3ehM2pRByWHzVZq\n8LZ0KJPBwrcx7x9NtwxO786ZJ4KIJLK8fEkqg0GUsppb0eHmxHTUVODQhp1u\n1EI7QUMBPd4fY12gkfHqYS5dXAhdPBqfoZ7Rms60dC1o8vopNQuhcewQt+Qp\nbaEX\r\n=kvJa\r\n-----END PGP SIGNATURE-----\r\n"
685 },
686 "maintainers": [
687 {
688 "name": "sindresorhus",
689 "email": "[email protected]"
690 }
691 ],
692 "directories": {},
693 "_npmOperationalInternal": {
694 "host": "s3://npm-registry-packages",
695 "tmp": "tmp/pify_4.0.0_1533822577421_0.49626587296341373"
696 },
697 "_hasShrinkwrap": false
698 },
699 "4.0.1": {
700 "name": "pify",
701 "version": "4.0.1",
702 "description": "Promisify a callback-style function",
703 "license": "MIT",
704 "repository": {
705 "type": "git",
706 "url": "git+https://github.com/sindresorhus/pify.git"
707 },
708 "author": {
709 "name": "Sindre Sorhus",
710 "email": "[email protected]",
711 "url": "sindresorhus.com"
712 },
713 "engines": {
714 "node": ">=6"
715 },
716 "scripts": {
717 "test": "xo && ava",
718 "optimization-test": "node --allow-natives-syntax optimization-test.js"
719 },
720 "keywords": [
721 "promise",
722 "promises",
723 "promisify",
724 "all",
725 "denodify",
726 "denodeify",
727 "callback",
728 "cb",
729 "node",
730 "then",
731 "thenify",
732 "convert",
733 "transform",
734 "wrap",
735 "wrapper",
736 "bind",
737 "to",
738 "async",
739 "await",
740 "es2015",
741 "bluebird"
742 ],
743 "devDependencies": {
744 "ava": "^0.25.0",
745 "pinkie-promise": "^2.0.0",
746 "v8-natives": "^1.1.0",
747 "xo": "^0.23.0"
748 },
749 "gitHead": "ef763593863d2a55df41e7f25147fa989f958fa1",
750 "bugs": {
751 "url": "https://github.com/sindresorhus/pify/issues"
752 },
753 "homepage": "https://github.com/sindresorhus/pify#readme",
754 "_id": "[email protected]",
755 "_npmVersion": "6.4.1",
756 "_nodeVersion": "8.12.0",
757 "_npmUser": {
758 "name": "sindresorhus",
759 "email": "[email protected]"
760 },
761 "dist": {
762 "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
763 "shasum": "4b2cd25c50d598735c50292224fd8c6df41e3231",
764 "tarball": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
765 "fileCount": 4,
766 "unpackedSize": 7234,
767 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzcmUCRA9TVsSAnZWagAAIPAQAIXn1sdrK8mkb8EfIf/K\n/BtGC3tAjzE09DbHdPlCJCEAkxX5S/5CChu1CXGp1no/zG+kZ2u3GbQzc8uN\nlVDwO8XvYEeTKZQAg5q0uhoNuUbq4aRFlNHqDtsNBHM9yv18MqzET8EtGS8V\nc3BedMSqgjAEGMysAwp3JfcoIBACzScnWPsEggGvtCyKDV52cZU1B/eid2wc\nO3QSa5oViWsUOhhBYYrj8wjH+MbGkN+Z7QjqEnPVmAAYlMkXhJv16K6dRteT\nx0BeElBrhRmCuGIEnY1ChDqdumuzkes1hoBvyQY7TIQVcQ06gV1wxYSXzjYz\nZLptbUKafCnyvAlAD6auQrVlCpp2zU62CfE/AgOt9ZtIuAGP6h0fSI7V4Ja7\n/IAAUCqkGrPlzgg5RSm+pbQ9x5jg0UtjKGMR6tg+OfYmNFVc1IeiSFo/DT9c\nbVCGOu2KPF9Ks7mg9j0LgnQsypakopWLhXP+Sxv7R2onHXaGiHSMdK9MzihF\ngBTk8iWzmcJskLCUpsAbsKnrsTU6KpeEvPCODhOiDnvDYEEvg6JsGSO4DNNE\nYGY/Igr6cLInyUnOo5zcjzMFFoXt+IZ2dbiJS6mV/fraVemYPNvsftUdBIdO\ngUix8lHeWX7K42O/VIY6KzowXzCt0F8b4NsNasNW2Mfx7Ggt22cIrbt0Jiga\nUK6i\r\n=IG39\r\n-----END PGP SIGNATURE-----\r\n"
768 },
769 "maintainers": [
770 {
771 "name": "sindresorhus",
772 "email": "[email protected]"
773 }
774 ],
775 "directories": {},
776 "_npmOperationalInternal": {
777 "host": "s3://npm-registry-packages",
778 "tmp": "tmp/pify_4.0.1_1540213139409_0.804611630545673"
779 },
780 "_hasShrinkwrap": false
781 },
782 "5.0.0": {
783 "name": "pify",
784 "version": "5.0.0",
785 "description": "Promisify a callback-style function",
786 "license": "MIT",
787 "repository": {
788 "type": "git",
789 "url": "git+https://github.com/sindresorhus/pify.git"
790 },
791 "funding": "https://github.com/sponsors/sindresorhus",
792 "author": {
793 "name": "Sindre Sorhus",
794 "email": "[email protected]",
795 "url": "https://sindresorhus.com"
796 },
797 "engines": {
798 "node": ">=10"
799 },
800 "scripts": {
801 "test": "xo && ava",
802 "optimization-test": "node --allow-natives-syntax optimization-test.js"
803 },
804 "keywords": [
805 "promisify",
806 "callback",
807 "promise",
808 "promises",
809 "denodify",
810 "denodeify",
811 "node",
812 "then",
813 "thenify",
814 "convert",
815 "transform",
816 "wrap",
817 "wrapper",
818 "bind",
819 "async",
820 "await",
821 "es2015",
822 "bluebird"
823 ],
824 "devDependencies": {
825 "ava": "^2.4.0",
826 "pinkie-promise": "^2.0.0",
827 "v8-natives": "^1.1.0",
828 "xo": "^0.26.1"
829 },
830 "gitHead": "5ef286ffc5310e7dbe99eee1891378ffde962ae9",
831 "bugs": {
832 "url": "https://github.com/sindresorhus/pify/issues"
833 },
834 "homepage": "https://github.com/sindresorhus/pify#readme",
835 "_id": "[email protected]",
836 "_nodeVersion": "13.1.0",
837 "_npmVersion": "6.12.1",
838 "_npmUser": {
839 "name": "sindresorhus",
840 "email": "[email protected]"
841 },
842 "dist": {
843 "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==",
844 "shasum": "1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f",
845 "tarball": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz",
846 "fileCount": 4,
847 "unpackedSize": 8867,
848 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRso8CRA9TVsSAnZWagAAQnwP/1dkXjy00iCHL3ql+7oi\n8yNz+NolZs+hxeo6mgJiwoOd1NQKwDrF1aKuzzjVWK34LtjejHjadhHPUeLt\ns9mA8O62wtE+F8Q2JDsRcUcsc/uVkncJKc74n0x5oPoyqk4qhfWgV6YlOfWx\naPkzncS+uzzaYcUfI+m4EbOX32UEzTt1ljCL1WVOcRrt8jCQMfndfNDRUAjl\nAEaMroH8PgEbVA/dwM1D+oSWSKSbtvz/Lyn+F1T3hv0AmLBGD0sXoIi82teR\ngWfi9+f/l1wS4ksD+ahxvkHKITuPKQ5BR33bJDz0rKcPMQShJdLSDqhI3Ud4\no9Rs5rNrkiM/Lo0LNDzL2/DK/mvZk6YoHGgph8ziDuhRHUhcMVNO+cn6Eop1\n2smCE/0dHPtAh3onY9NP+96U0yvqUMKZOHbfqeY0JBErobM9alj4dJidKAA5\nUG2CCscVMwjUpJxLJmBqW++eUU/nEPYMnYJhcvLDyNp9PHUxgi7QBf3buWam\n/zZqXxnkgaAQPenZH1y+fWdR6vP4XJfThKgAuZDOG4B1mEekDPjEX2rHeLp2\nXmIVJVg/wU2oB54s4Y73ABlHnBCqXpUf767ue6rgEqQloYu/zw86yROr/q10\nGMtfhLlyuYq3BO19/pEWh8VqQJ8iN14HSuDkG33PVQPG6muTJFMJdT+Wt//y\nL3ay\r\n=EzUm\r\n-----END PGP SIGNATURE-----\r\n"
849 },
850 "maintainers": [
851 {
852 "name": "sindresorhus",
853 "email": "[email protected]"
854 }
855 ],
856 "directories": {},
857 "_npmOperationalInternal": {
858 "host": "s3://npm-registry-packages",
859 "tmp": "tmp/pify_5.0.0_1581697595574_0.40959682391034624"
860 },
861 "_hasShrinkwrap": false
862 }
863 },
864 "readme": "# pify [![Build Status](https://travis-ci.org/sindresorhus/pify.svg?branch=master)](https://travis-ci.org/sindresorhus/pify)\n\n> Promisify a callback-style function\n\n## Install\n\n```\n$ npm install pify\n```\n\n## Usage\n\n```js\nconst fs = require('fs');\nconst pify = require('pify');\n\n(async () => {\n\t// Promisify a single function.\n\tconst data = await pify(fs.readFile)('package.json', 'utf8');\n\tconsole.log(JSON.parse(data).name);\n\t//=> 'pify'\n\n\t// Promisify all methods in a module.\n\tconst data2 = await pify(fs).readFile('package.json', 'utf8');\n\tconsole.log(JSON.parse(data2).name);\n\t//=> 'pify'\n})();\n```\n\n## API\n\n### pify(input, options?)\n\nReturns a `Promise` wrapped version of the supplied function or module.\n\n#### input\n\nType: `Function | object`\n\nCallback-style function or module whose methods you want to promisify.\n\n#### options\n\nType: `object`\n\n##### multiArgs\n\nType: `boolean`\\\nDefault: `false`\n\nBy default, the promisified function will only return the second argument from the callback, which works fine for most APIs. This option can be useful for modules like `request` that return multiple arguments. Turning this on will make it return an array of all arguments from the callback, excluding the error argument, instead of just the second argument. This also applies to rejections, where it returns an array of all the callback arguments, including the error.\n\n```js\nconst request = require('request');\nconst pify = require('pify');\n\nconst pRequest = pify(request, {multiArgs: true});\n\n(async () => {\n\tconst [httpResponse, body] = await pRequest('https://sindresorhus.com');\n})();\n```\n\n##### include\n\nType: `Array<string | RegExp>`\n\nMethods in a module to promisify. Remaining methods will be left untouched.\n\n##### exclude\n\nType: `Array<string | RegExp>`\\\nDefault: `[/.+(?:Sync|Stream)$/]`\n\nMethods in a module **not** to promisify. Methods with names ending with `'Sync'` are excluded by default.\n\n##### excludeMain\n\nType: `boolean`\\\nDefault: `false`\n\nIf the given module is a function itself, it will be promisified. Enable this option if you want to promisify only methods of the module.\n\n```js\nconst pify = require('pify');\n\nfunction fn() {\n\treturn true;\n}\n\nfn.method = (data, callback) => {\n\tsetImmediate(() => {\n\t\tcallback(null, data);\n\t});\n};\n\n(async () => {\n\t// Promisify methods but not `fn()`.\n\tconst promiseFn = pify(fn, {excludeMain: true});\n\n\tif (promiseFn()) {\n\t\tconsole.log(await promiseFn.method('hi'));\n\t}\n})();\n```\n\n##### errorFirst\n\nType: `boolean`\\\nDefault: `true`\n\nWhether the callback has an error as the first argument. You'll want to set this to `false` if you're dealing with an API that doesn't have an error as the first argument, like `fs.exists()`, some browser APIs, Chrome Extension APIs, etc.\n\n##### promiseModule\n\nType: `Function`\n\nCustom promise module to use instead of the native one.\n\n## FAQ\n\n#### How is this different from Node.js's [`util.promisify`](https://nodejs.org/api/util.html#util_util_promisify_original)?\n\n- Pify existed long before `util.promisify`.\n- Pify is [faster](https://github.com/sindresorhus/pify/issues/41#issuecomment-429988506).\n- Pify supports wrapping a whole module/object, not just a specific method.\n- Pify has useful options like the ability to handle multiple arguments (`multiArgs`).\n- Pify does not have [magic behavior](https://nodejs.org/api/util.html#util_custom_promisified_functions) for certain Node.js methods and instead focuses on predictability.\n\n## Related\n\n- [p-event](https://github.com/sindresorhus/p-event) - Promisify an event by waiting for it to be emitted\n- [p-map](https://github.com/sindresorhus/p-map) - Map over promises concurrently\n- [More…](https://github.com/sindresorhus/promise-fun)\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-pify?utm_source=npm-pify&utm_medium=referral&utm_campaign=readme\">Get professional support for 'pify' with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n",
865 "maintainers": [
866 {
867 "name": "sindresorhus",
868 "email": "[email protected]"
869 }
870 ],
871 "time": {
872 "modified": "2020-02-14T16:26:38.249Z",
873 "created": "2015-08-29T08:15:22.672Z",
874 "1.0.0": "2015-08-29T08:15:22.672Z",
875 "1.1.0": "2015-08-30T04:05:41.513Z",
876 "1.1.1": "2015-09-01T16:53:09.168Z",
877 "2.0.0": "2015-09-04T07:45:20.325Z",
878 "2.1.0": "2015-09-08T19:54:14.378Z",
879 "2.2.0": "2015-09-11T07:09:26.197Z",
880 "2.3.0": "2015-10-26T13:16:18.238Z",
881 "3.0.0": "2017-05-28T06:25:28.083Z",
882 "4.0.0": "2018-08-09T13:49:37.494Z",
883 "4.0.1": "2018-10-22T12:58:59.524Z",
884 "5.0.0": "2020-02-14T16:26:35.672Z"
885 },
886 "homepage": "https://github.com/sindresorhus/pify#readme",
887 "keywords": [
888 "promisify",
889 "callback",
890 "promise",
891 "promises",
892 "denodify",
893 "denodeify",
894 "node",
895 "then",
896 "thenify",
897 "convert",
898 "transform",
899 "wrap",
900 "wrapper",
901 "bind",
902 "async",
903 "await",
904 "es2015",
905 "bluebird"
906 ],
907 "repository": {
908 "type": "git",
909 "url": "git+https://github.com/sindresorhus/pify.git"
910 },
911 "author": {
912 "name": "Sindre Sorhus",
913 "email": "[email protected]",
914 "url": "https://sindresorhus.com"
915 },
916 "bugs": {
917 "url": "https://github.com/sindresorhus/pify/issues"
918 },
919 "license": "MIT",
920 "readmeFilename": "readme.md",
921 "users": {
922 "axelav": true,
923 "jamescostian": true,
924 "3846masa": true,
925 "theoy": true,
926 "antixrist": true,
927 "f124275809": true,
928 "riyadhalnur": true,
929 "quocnguyen": true,
930 "scottfreecode": true,
931 "mariusc23": true,
932 "nickytonline": true,
933 "joanmi": true,
934 "wangfeia": true,
935 "edloidas": true,
936 "j.su": true,
937 "marcellk": true,
938 "faraoman": true,
939 "moonou": true,
940 "seangenabe": true,
941 "bluelovers": true,
942 "shanewholloway": true,
943 "shakakira": true,
944 "zeusdeux": true,
945 "daizch": true,
946 "benrussert": true,
947 "rocket0191": true,
948 "grreenzz": true,
949 "danielpavelic": true,
950 "sensui": true,
951 "fabien0102": true,
952 "laomu": true,
953 "gpuente": true,
954 "ash": true,
955 "rsp": true,
956 "andygreenegrass": true,
957 "dralc": true,
958 "larrychen": true,
959 "josephst18": true,
960 "l3au": true,
961 "andreaspizsa": true,
962 "vidhill": true,
963 "isayme": true,
964 "zhenguo.zhao": true,
965 "shangsinian": true,
966 "qualiabyte": true,
967 "jireve999": true,
968 "robinblomberg": true,
969 "dqisme": true,
970 "scott.m.sarsfield": true,
971 "panlw": true,
972 "lunelson": true,
973 "zhangaz1": true,
974 "fargie_s": true,
975 "sujeet555": true,
976 "soenkekluth": true,
977 "jherax": true,
978 "taoqianbao": true,
979 "floby": true,
980 "sonnycrockett": true,
981 "mestar": true,
982 "zuojiang": true
983 }
984 }