Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/pkg-conf.json

raw
1 {
2 "_id": "pkg-conf",
3 "_rev": "10-43afbeeb48cf2b78bc5921a72026949e",
4 "name": "pkg-conf",
5 "description": "Get namespaced config from the closest package.json",
6 "dist-tags": {
7 "latest": "3.1.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "pkg-conf",
12 "version": "1.0.0",
13 "description": "Get namespaced config from the closest package.json",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "git+https://github.com/sindresorhus/pkg-conf.git"
18 },
19 "author": {
20 "name": "Sindre Sorhus",
21 "email": "[email protected]",
22 "url": "sindresorhus.com"
23 },
24 "engines": {
25 "node": ">=0.10.0"
26 },
27 "scripts": {
28 "test": "xo && ava"
29 },
30 "files": [
31 "index.js"
32 ],
33 "keywords": [
34 "json",
35 "read",
36 "parse",
37 "file",
38 "fs",
39 "graceful",
40 "load",
41 "pkg",
42 "package",
43 "config",
44 "conf",
45 "configuration",
46 "object",
47 "namespace",
48 "namespaced"
49 ],
50 "dependencies": {
51 "find-up": "^1.0.0",
52 "read-pkg": "^1.0.0",
53 "symbol": "^0.2.1"
54 },
55 "devDependencies": {
56 "ava": "*",
57 "xo": "*"
58 },
59 "fixture": {
60 "foo": true
61 },
62 "gitHead": "079fab87b04819091fcf0fc27baa9c767f602344",
63 "bugs": {
64 "url": "https://github.com/sindresorhus/pkg-conf/issues"
65 },
66 "homepage": "https://github.com/sindresorhus/pkg-conf#readme",
67 "_id": "[email protected]",
68 "_shasum": "05b24fb6f4df5c2d04b30bb155f38c8abe23c914",
69 "_from": ".",
70 "_npmVersion": "2.13.3",
71 "_nodeVersion": "3.0.0",
72 "_npmUser": {
73 "name": "sindresorhus",
74 "email": "[email protected]"
75 },
76 "dist": {
77 "shasum": "05b24fb6f4df5c2d04b30bb155f38c8abe23c914",
78 "tarball": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-1.0.0.tgz"
79 },
80 "maintainers": [
81 {
82 "name": "sindresorhus",
83 "email": "[email protected]"
84 }
85 ],
86 "directories": {}
87 },
88 "1.0.1": {
89 "name": "pkg-conf",
90 "version": "1.0.1",
91 "description": "Get namespaced config from the closest package.json",
92 "license": "MIT",
93 "repository": {
94 "type": "git",
95 "url": "git+https://github.com/sindresorhus/pkg-conf.git"
96 },
97 "author": {
98 "name": "Sindre Sorhus",
99 "email": "[email protected]",
100 "url": "sindresorhus.com"
101 },
102 "engines": {
103 "node": ">=0.10.0"
104 },
105 "scripts": {
106 "test": "xo && ava"
107 },
108 "files": [
109 "index.js"
110 ],
111 "keywords": [
112 "json",
113 "read",
114 "parse",
115 "file",
116 "fs",
117 "graceful",
118 "load",
119 "pkg",
120 "package",
121 "config",
122 "conf",
123 "configuration",
124 "object",
125 "namespace",
126 "namespaced"
127 ],
128 "dependencies": {
129 "find-up": "^1.0.0",
130 "read-pkg": "^1.0.0",
131 "symbol": "^0.2.1"
132 },
133 "devDependencies": {
134 "ava": "*",
135 "xo": "*"
136 },
137 "fixture": {
138 "foo": true
139 },
140 "gitHead": "4b65276fde28f47bbc2ff0c64ede56c2dda1115b",
141 "bugs": {
142 "url": "https://github.com/sindresorhus/pkg-conf/issues"
143 },
144 "homepage": "https://github.com/sindresorhus/pkg-conf#readme",
145 "_id": "[email protected]",
146 "_shasum": "cb88d2459a734c76575e0a78cb812ee2ff8ffa82",
147 "_from": ".",
148 "_npmVersion": "2.13.3",
149 "_nodeVersion": "3.0.0",
150 "_npmUser": {
151 "name": "sindresorhus",
152 "email": "[email protected]"
153 },
154 "dist": {
155 "shasum": "cb88d2459a734c76575e0a78cb812ee2ff8ffa82",
156 "tarball": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-1.0.1.tgz"
157 },
158 "maintainers": [
159 {
160 "name": "sindresorhus",
161 "email": "[email protected]"
162 }
163 ],
164 "directories": {}
165 },
166 "1.1.0": {
167 "name": "pkg-conf",
168 "version": "1.1.0",
169 "description": "Get namespaced config from the closest package.json",
170 "license": "MIT",
171 "repository": {
172 "type": "git",
173 "url": "git+https://github.com/sindresorhus/pkg-conf.git"
174 },
175 "author": {
176 "name": "Sindre Sorhus",
177 "email": "[email protected]",
178 "url": "sindresorhus.com"
179 },
180 "engines": {
181 "node": ">=0.10.0"
182 },
183 "scripts": {
184 "test": "xo && ava"
185 },
186 "files": [
187 "index.js"
188 ],
189 "keywords": [
190 "json",
191 "read",
192 "parse",
193 "file",
194 "fs",
195 "graceful",
196 "load",
197 "pkg",
198 "package",
199 "config",
200 "conf",
201 "configuration",
202 "object",
203 "namespace",
204 "namespaced"
205 ],
206 "dependencies": {
207 "find-up": "^1.0.0",
208 "object-assign": "^4.0.1",
209 "read-pkg": "^1.0.0",
210 "symbol": "^0.2.1"
211 },
212 "devDependencies": {
213 "ava": "*",
214 "xo": "*"
215 },
216 "fixture": {
217 "foo": true
218 },
219 "gitHead": "30b9f0af2ef581fe10bb6c6770726fab5d793ecb",
220 "bugs": {
221 "url": "https://github.com/sindresorhus/pkg-conf/issues"
222 },
223 "homepage": "https://github.com/sindresorhus/pkg-conf#readme",
224 "_id": "[email protected]",
225 "_shasum": "b4b8edd1144e5c9973c61878d4e2c96397250f3d",
226 "_from": ".",
227 "_npmVersion": "3.6.0",
228 "_nodeVersion": "4.2.4",
229 "_npmUser": {
230 "name": "sindresorhus",
231 "email": "[email protected]"
232 },
233 "dist": {
234 "shasum": "b4b8edd1144e5c9973c61878d4e2c96397250f3d",
235 "tarball": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-1.1.0.tgz"
236 },
237 "maintainers": [
238 {
239 "name": "sindresorhus",
240 "email": "[email protected]"
241 }
242 ],
243 "directories": {}
244 },
245 "1.1.1": {
246 "name": "pkg-conf",
247 "version": "1.1.1",
248 "description": "Get namespaced config from the closest package.json",
249 "license": "MIT",
250 "repository": {
251 "type": "git",
252 "url": "git+https://github.com/sindresorhus/pkg-conf.git"
253 },
254 "author": {
255 "name": "Sindre Sorhus",
256 "email": "[email protected]",
257 "url": "sindresorhus.com"
258 },
259 "engines": {
260 "node": ">=0.10.0"
261 },
262 "scripts": {
263 "test": "xo && ava"
264 },
265 "files": [
266 "index.js"
267 ],
268 "keywords": [
269 "json",
270 "read",
271 "parse",
272 "file",
273 "fs",
274 "graceful",
275 "load",
276 "pkg",
277 "package",
278 "config",
279 "conf",
280 "configuration",
281 "object",
282 "namespace",
283 "namespaced"
284 ],
285 "dependencies": {
286 "find-up": "^1.0.0",
287 "object-assign": "^4.0.1",
288 "read-pkg": "^1.0.0",
289 "symbol": "^0.2.1"
290 },
291 "devDependencies": {
292 "ava": "*",
293 "xo": "*"
294 },
295 "fixture": {
296 "foo": true
297 },
298 "gitHead": "9bb0bb78f4e6d8b6e14e8ef28b1cfba7305341f6",
299 "bugs": {
300 "url": "https://github.com/sindresorhus/pkg-conf/issues"
301 },
302 "homepage": "https://github.com/sindresorhus/pkg-conf#readme",
303 "_id": "[email protected]",
304 "_shasum": "a3caee3fb9c23ab4abad3baaea02f0001c75f200",
305 "_from": ".",
306 "_npmVersion": "3.6.0",
307 "_nodeVersion": "4.2.4",
308 "_npmUser": {
309 "name": "sindresorhus",
310 "email": "[email protected]"
311 },
312 "dist": {
313 "shasum": "a3caee3fb9c23ab4abad3baaea02f0001c75f200",
314 "tarball": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-1.1.1.tgz"
315 },
316 "maintainers": [
317 {
318 "name": "sindresorhus",
319 "email": "[email protected]"
320 }
321 ],
322 "directories": {}
323 },
324 "1.1.2": {
325 "name": "pkg-conf",
326 "version": "1.1.2",
327 "description": "Get namespaced config from the closest package.json",
328 "license": "MIT",
329 "repository": {
330 "type": "git",
331 "url": "git+https://github.com/sindresorhus/pkg-conf.git"
332 },
333 "author": {
334 "name": "Sindre Sorhus",
335 "email": "[email protected]",
336 "url": "sindresorhus.com"
337 },
338 "engines": {
339 "node": ">=0.10.0"
340 },
341 "scripts": {
342 "test": "xo && ava"
343 },
344 "files": [
345 "index.js"
346 ],
347 "keywords": [
348 "json",
349 "read",
350 "parse",
351 "file",
352 "fs",
353 "graceful",
354 "load",
355 "pkg",
356 "package",
357 "config",
358 "conf",
359 "configuration",
360 "object",
361 "namespace",
362 "namespaced"
363 ],
364 "dependencies": {
365 "find-up": "^1.0.0",
366 "load-json-file": "^1.1.0",
367 "object-assign": "^4.0.1",
368 "symbol": "^0.2.1"
369 },
370 "devDependencies": {
371 "ava": "*",
372 "xo": "*"
373 },
374 "fixture": {
375 "foo": true
376 },
377 "gitHead": "066eebf23bfb8a40ae6a7c155fa00b5d59417756",
378 "bugs": {
379 "url": "https://github.com/sindresorhus/pkg-conf/issues"
380 },
381 "homepage": "https://github.com/sindresorhus/pkg-conf#readme",
382 "_id": "[email protected]",
383 "_shasum": "e826877a9c15dc7ca9fa06afa38ccd620384e92c",
384 "_from": ".",
385 "_npmVersion": "3.8.3",
386 "_nodeVersion": "4.3.0",
387 "_npmUser": {
388 "name": "sindresorhus",
389 "email": "[email protected]"
390 },
391 "dist": {
392 "shasum": "e826877a9c15dc7ca9fa06afa38ccd620384e92c",
393 "tarball": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-1.1.2.tgz"
394 },
395 "maintainers": [
396 {
397 "name": "sindresorhus",
398 "email": "[email protected]"
399 }
400 ],
401 "_npmOperationalInternal": {
402 "host": "packages-12-west.internal.npmjs.com",
403 "tmp": "tmp/pkg-conf-1.1.2.tgz_1458981997858_0.6328517564106733"
404 },
405 "directories": {}
406 },
407 "1.1.3": {
408 "name": "pkg-conf",
409 "version": "1.1.3",
410 "description": "Get namespaced config from the closest package.json",
411 "license": "MIT",
412 "repository": {
413 "type": "git",
414 "url": "git+https://github.com/sindresorhus/pkg-conf.git"
415 },
416 "author": {
417 "name": "Sindre Sorhus",
418 "email": "[email protected]",
419 "url": "sindresorhus.com"
420 },
421 "engines": {
422 "node": ">=0.10.0"
423 },
424 "scripts": {
425 "test": "xo && ava"
426 },
427 "files": [
428 "index.js"
429 ],
430 "keywords": [
431 "json",
432 "read",
433 "parse",
434 "file",
435 "fs",
436 "graceful",
437 "load",
438 "pkg",
439 "package",
440 "config",
441 "conf",
442 "configuration",
443 "object",
444 "namespace",
445 "namespaced"
446 ],
447 "dependencies": {
448 "find-up": "^1.0.0",
449 "load-json-file": "^1.1.0",
450 "object-assign": "^4.0.1",
451 "symbol": "^0.2.1"
452 },
453 "devDependencies": {
454 "ava": "*",
455 "xo": "*"
456 },
457 "fixture": {
458 "foo": true
459 },
460 "gitHead": "e1030ef1a395162399987b1c92a1f76b9bfe600f",
461 "bugs": {
462 "url": "https://github.com/sindresorhus/pkg-conf/issues"
463 },
464 "homepage": "https://github.com/sindresorhus/pkg-conf#readme",
465 "_id": "[email protected]",
466 "_shasum": "378e56d6fd13e88bfb6f4a25df7a83faabddba5b",
467 "_from": ".",
468 "_npmVersion": "2.15.0",
469 "_nodeVersion": "4.4.2",
470 "_npmUser": {
471 "name": "sindresorhus",
472 "email": "[email protected]"
473 },
474 "dist": {
475 "shasum": "378e56d6fd13e88bfb6f4a25df7a83faabddba5b",
476 "tarball": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-1.1.3.tgz"
477 },
478 "maintainers": [
479 {
480 "name": "sindresorhus",
481 "email": "[email protected]"
482 }
483 ],
484 "_npmOperationalInternal": {
485 "host": "packages-16-east.internal.npmjs.com",
486 "tmp": "tmp/pkg-conf-1.1.3.tgz_1464062415515_0.5557844769209623"
487 },
488 "directories": {}
489 },
490 "2.0.0": {
491 "name": "pkg-conf",
492 "version": "2.0.0",
493 "description": "Get namespaced config from the closest package.json",
494 "license": "MIT",
495 "repository": {
496 "type": "git",
497 "url": "git+https://github.com/sindresorhus/pkg-conf.git"
498 },
499 "author": {
500 "name": "Sindre Sorhus",
501 "email": "[email protected]",
502 "url": "sindresorhus.com"
503 },
504 "engines": {
505 "node": ">=4"
506 },
507 "scripts": {
508 "test": "xo && ava"
509 },
510 "files": [
511 "index.js"
512 ],
513 "keywords": [
514 "json",
515 "read",
516 "parse",
517 "file",
518 "fs",
519 "graceful",
520 "load",
521 "pkg",
522 "package",
523 "config",
524 "conf",
525 "configuration",
526 "object",
527 "namespace",
528 "namespaced"
529 ],
530 "dependencies": {
531 "find-up": "^2.0.0",
532 "load-json-file": "^2.0.0"
533 },
534 "devDependencies": {
535 "ava": "*",
536 "xo": "*"
537 },
538 "xo": {
539 "esnext": true
540 },
541 "fixture": {
542 "foo": true
543 },
544 "gitHead": "9c1bba03f9fdd9449e9218eb03d1edc86acc0b28",
545 "bugs": {
546 "url": "https://github.com/sindresorhus/pkg-conf/issues"
547 },
548 "homepage": "https://github.com/sindresorhus/pkg-conf#readme",
549 "_id": "[email protected]",
550 "_shasum": "071c87650403bccfb9c627f58751bfe47c067279",
551 "_from": ".",
552 "_npmVersion": "2.15.9",
553 "_nodeVersion": "4.6.0",
554 "_npmUser": {
555 "name": "sindresorhus",
556 "email": "[email protected]"
557 },
558 "dist": {
559 "shasum": "071c87650403bccfb9c627f58751bfe47c067279",
560 "tarball": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.0.0.tgz"
561 },
562 "maintainers": [
563 {
564 "name": "sindresorhus",
565 "email": "[email protected]"
566 }
567 ],
568 "_npmOperationalInternal": {
569 "host": "packages-16-east.internal.npmjs.com",
570 "tmp": "tmp/pkg-conf-2.0.0.tgz_1476127507292_0.7264729030430317"
571 },
572 "directories": {}
573 },
574 "2.1.0": {
575 "name": "pkg-conf",
576 "version": "2.1.0",
577 "description": "Get namespaced config from the closest package.json",
578 "license": "MIT",
579 "repository": {
580 "type": "git",
581 "url": "git+https://github.com/sindresorhus/pkg-conf.git"
582 },
583 "author": {
584 "name": "Sindre Sorhus",
585 "email": "[email protected]",
586 "url": "sindresorhus.com"
587 },
588 "engines": {
589 "node": ">=4"
590 },
591 "scripts": {
592 "test": "xo && ava"
593 },
594 "files": [
595 "index.js"
596 ],
597 "keywords": [
598 "json",
599 "read",
600 "parse",
601 "file",
602 "fs",
603 "graceful",
604 "load",
605 "pkg",
606 "package",
607 "config",
608 "conf",
609 "configuration",
610 "object",
611 "namespace",
612 "namespaced"
613 ],
614 "dependencies": {
615 "find-up": "^2.0.0",
616 "load-json-file": "^4.0.0"
617 },
618 "devDependencies": {
619 "ava": "*",
620 "xo": "*"
621 },
622 "fixture": {
623 "foo": true
624 },
625 "gitHead": "a57403234f29ff56d890c06d4048a24e51708bfe",
626 "bugs": {
627 "url": "https://github.com/sindresorhus/pkg-conf/issues"
628 },
629 "homepage": "https://github.com/sindresorhus/pkg-conf#readme",
630 "_id": "[email protected]",
631 "_shasum": "2126514ca6f2abfebd168596df18ba57867f0058",
632 "_from": ".",
633 "_npmVersion": "2.15.11",
634 "_nodeVersion": "4.8.4",
635 "_npmUser": {
636 "name": "sindresorhus",
637 "email": "[email protected]"
638 },
639 "dist": {
640 "shasum": "2126514ca6f2abfebd168596df18ba57867f0058",
641 "tarball": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz"
642 },
643 "maintainers": [
644 {
645 "name": "sindresorhus",
646 "email": "[email protected]"
647 }
648 ],
649 "_npmOperationalInternal": {
650 "host": "s3://npm-registry-packages",
651 "tmp": "tmp/pkg-conf-2.1.0.tgz_1514366465737_0.7428827714174986"
652 },
653 "directories": {}
654 },
655 "3.0.0": {
656 "name": "pkg-conf",
657 "version": "3.0.0",
658 "description": "Get namespaced config from the closest package.json",
659 "license": "MIT",
660 "repository": {
661 "type": "git",
662 "url": "git+https://github.com/sindresorhus/pkg-conf.git"
663 },
664 "author": {
665 "name": "Sindre Sorhus",
666 "email": "[email protected]",
667 "url": "sindresorhus.com"
668 },
669 "engines": {
670 "node": ">=6"
671 },
672 "scripts": {
673 "test": "xo && ava && tsd-check"
674 },
675 "keywords": [
676 "json",
677 "read",
678 "parse",
679 "file",
680 "fs",
681 "graceful",
682 "load",
683 "pkg",
684 "package",
685 "config",
686 "conf",
687 "configuration",
688 "object",
689 "namespace",
690 "namespaced"
691 ],
692 "dependencies": {
693 "find-up": "^3.0.0",
694 "load-json-file": "^5.2.0"
695 },
696 "devDependencies": {
697 "ava": "^1.2.1",
698 "tsd-check": "^0.3.0",
699 "xo": "^0.24.0"
700 },
701 "fixture": {
702 "foo": true
703 },
704 "gitHead": "dfe3280d0b3924b3ec6b022866568658c993c083",
705 "bugs": {
706 "url": "https://github.com/sindresorhus/pkg-conf/issues"
707 },
708 "homepage": "https://github.com/sindresorhus/pkg-conf#readme",
709 "_id": "[email protected]",
710 "_nodeVersion": "10.15.1",
711 "_npmVersion": "6.8.0",
712 "_npmUser": {
713 "name": "sindresorhus",
714 "email": "[email protected]"
715 },
716 "dist": {
717 "integrity": "sha512-YOvV9hWNY9+abaZdgaZs4eyTzfeO1bwEYCYRskER2aP5ZWZAdrb/8YeOo95mb6tr01MR9ZUGArl1sMy2At/YWQ==",
718 "shasum": "41f836458fb83b080e08e62b2d63a68aa8c436df",
719 "tarball": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-3.0.0.tgz",
720 "fileCount": 5,
721 "unpackedSize": 8462,
722 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceo9nCRA9TVsSAnZWagAAY4oP/0a3ZY4YLBe5X2b6Y3JB\nm249oy7+kppDolyyJ58UUZzoh9HKykhREhDvv5t/T1wjApGTRAeIcZp+q47O\n+PAhveDt+1YEPEmA011HsifXMoFHSQjDSz3VEdlTMuw1b3rWu+U6OT8mkykT\n7vQPfSVsykgHgGzOeZE9qauXZyKwoMvBsWMTOYDT0JmLIkfHbp6eAw0B8cjz\ngbU2pcTdS7VSvr6HVuAelF3cDR6P2eCqQRVJv6KNFGc1eflSWd9fwgJV9D7j\n99MRVv5uH5oiFqK/WUMW7wfFHmjRlp5j0f0s2aj+4hXcGGyQ7efKitEy6eVh\nNfTS6SVBLQBIV8V3Cxh2jYivfRkD50DOoDCX5uTh5yLFlgaCvuO9oRZx2CcC\nicZL2OAGPMjslNFMLJp1cthssnzYXGwXWFLBt26TQmX4SoPrdglSVuv4WjES\nkWvUixBoJ/OfxWIZzDhlgVDBGw5LoSZHF9l5axBhXyvn5rNmOmHuEF09dXY+\n6Dte5RnXvzZa1MIyW86pJHo5RlZEgsbx6E2cnoK9TcQLLNUogWM8KNSX38kW\n2UgfEKbnXhTKHbmt0vRWg8uTBR039qlMu+Z6onCByyWwbfPBZQ7461gf1fFd\ntejcne956IVMKmZgg1uBdhbYp1sBph6I/Wu1dHvTHal5HvIDgrxcTqotf318\nItJT\r\n=uPka\r\n-----END PGP SIGNATURE-----\r\n"
723 },
724 "maintainers": [
725 {
726 "name": "sindresorhus",
727 "email": "[email protected]"
728 }
729 ],
730 "directories": {},
731 "_npmOperationalInternal": {
732 "host": "s3://npm-registry-packages",
733 "tmp": "tmp/pkg-conf_3.0.0_1551535974836_0.37506960462023864"
734 },
735 "_hasShrinkwrap": false
736 },
737 "3.1.0": {
738 "name": "pkg-conf",
739 "version": "3.1.0",
740 "description": "Get namespaced config from the closest package.json",
741 "license": "MIT",
742 "repository": {
743 "type": "git",
744 "url": "git+https://github.com/sindresorhus/pkg-conf.git"
745 },
746 "author": {
747 "name": "Sindre Sorhus",
748 "email": "[email protected]",
749 "url": "sindresorhus.com"
750 },
751 "engines": {
752 "node": ">=6"
753 },
754 "scripts": {
755 "test": "xo && ava && tsd"
756 },
757 "keywords": [
758 "json",
759 "read",
760 "parse",
761 "file",
762 "fs",
763 "graceful",
764 "load",
765 "pkg",
766 "package",
767 "config",
768 "conf",
769 "configuration",
770 "object",
771 "namespace",
772 "namespaced"
773 ],
774 "dependencies": {
775 "find-up": "^3.0.0",
776 "load-json-file": "^5.2.0"
777 },
778 "devDependencies": {
779 "ava": "^1.4.1",
780 "tsd": "^0.7.2",
781 "xo": "^0.24.0"
782 },
783 "fixture": {
784 "foo": true
785 },
786 "gitHead": "50a682621fb0b429e7e471191df276e34a136d18",
787 "bugs": {
788 "url": "https://github.com/sindresorhus/pkg-conf/issues"
789 },
790 "homepage": "https://github.com/sindresorhus/pkg-conf#readme",
791 "_id": "[email protected]",
792 "_nodeVersion": "8.15.0",
793 "_npmVersion": "6.9.0",
794 "_npmUser": {
795 "name": "sindresorhus",
796 "email": "[email protected]"
797 },
798 "dist": {
799 "integrity": "sha512-m0OTbR/5VPNPqO1ph6Fqbj7Hv6QU7gR/tQW40ZqrL1rjgCU85W6C1bJn0BItuJqnR98PWzw7Z8hHeChD1WrgdQ==",
800 "shasum": "d9f9c75ea1bae0e77938cde045b276dac7cc69ae",
801 "tarball": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-3.1.0.tgz",
802 "fileCount": 5,
803 "unpackedSize": 8899,
804 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqE+yCRA9TVsSAnZWagAAfUkP/Rg2TGONbfc10gP4MAwO\nf4daZ78R2cfUwYDbDoY7kJ4PaLa0AVe96KZz7iLUaWiYtrJ0N+ipBJPwWg5d\nFKgvAic6n/7iIkKbfGHAbRkV5ht9B1+kTi0m3TkzcMn4kd033HFpGTpNa8Bv\nTuhtJgEkZTldVC06/3L/2YPMI9nfS1BHkxRLRC3VI8C1AVRwDwYxPpsCeySx\n7HymYlj3/a/aNFKf5KsvlQaSFtnXiDE1PbqbQ07RWnS+TyiWP+4g/LneYyUn\n7F6BdQ1dcryf6I7jBSBakllw87oC3AtDn6FJXLGGOxq78274d32gHg4BStz9\n5tMlbMEXi0JQZ89lr/Co7PbvNXLv6usB5InnFO1UADcBUPz64rRQ6AuA9dbz\n2kL4832hbwi6DqjsfSEDIrB9d7APZxZ1sp7ns4E4kYLro/J5VomzzCIz+93C\nWbJAlDCIZY26/Rfe7wORhMzydYtS6GOHVTHFdG7ulh4KOr/Q/NVtylaqCZnu\nquWATaOAxZGi3S9V7NP1gMcR1l/ghUMq2bPNDdt29JYB56ebs/kvsGqEXY5M\nhjwmqtgKx/uiQ6u0TtJnZ9csZYT5D7lrQy7mfHlfi0N5NE6opQ89lgtoVdp7\nUQSqnuVSAqPhGrABGh5qN2pRY9S6ldBEvIFvYW6kyY8S0iuPVUTlYCtqOsEY\n5LcX\r\n=UN4x\r\n-----END PGP SIGNATURE-----\r\n"
805 },
806 "maintainers": [
807 {
808 "name": "sindresorhus",
809 "email": "[email protected]"
810 }
811 ],
812 "directories": {},
813 "_npmOperationalInternal": {
814 "host": "s3://npm-registry-packages",
815 "tmp": "tmp/pkg-conf_3.1.0_1554534321667_0.7685623035085318"
816 },
817 "_hasShrinkwrap": false
818 }
819 },
820 "readme": "# pkg-conf [![Build Status](https://travis-ci.org/sindresorhus/pkg-conf.svg?branch=master)](https://travis-ci.org/sindresorhus/pkg-conf)\n\n> Get namespaced config from the closest package.json\n\nHaving tool specific config in package.json reduces the amount of metafiles in your repo (there are usually a lot!) and makes the config obvious compared to hidden dotfiles like `.eslintrc`, which can end up causing confusion. [XO](https://github.com/xojs/xo), for example, uses the `xo` namespace in package.json, and [ESLint](http://eslint.org) uses `eslintConfig`. Many more tools supports this, like [AVA](https://ava.li), [Babel](https://babeljs.io), [nyc](https://github.com/istanbuljs/nyc), etc.\n\n\n## Install\n\n```\n$ npm install pkg-conf\n```\n\n\n## Usage\n\n```json\n{\n\t\"name\": \"some-package\",\n\t\"version\": \"1.0.0\",\n\t\"unicorn\": {\n\t\t\"rainbow\": true\n\t}\n}\n```\n\n```js\nconst pkgConf = require('pkg-conf');\n\n(async () => {\n\tconst config = await pkgConf('unicorn');\n\n\tconsole.log(config.rainbow);\n\t//=> true\n})();\n```\n\n\n## API\n\nIt [walks up](https://github.com/sindresorhus/find-up) parent directories until a `package.json` can be found, reads it, and returns the user specified namespace or an empty object if not found.\n\n### pkgConf(namespace, [options])\n\nReturns a `Promise` for the config.\n\n### pkgConf.sync(namespace, [options])\n\nReturns the config.\n\n#### namespace\n\nType: `string`\n\nThe package.json namespace you want.\n\n#### options\n\nType: `Object`\n\n##### cwd\n\nType: `string`<br>\nDefault: `process.cwd()`\n\nDirectory to start looking up for a package.json file.\n\n##### defaults\n\nType: `Object`<br>\n\nDefault config.\n\n##### skipOnFalse\n\nType: `boolean`<br>\nDefault: `false`\n\nSkip `package.json` files that have the namespaced config explicitly set to `false`.\n\nContinues searching upwards until the next `package.json` file is reached. This can be useful when you need to support the ability for users to have nested `package.json` files, but only read from the root one, like in the case of [`electron-builder`](https://github.com/electron-userland/electron-builder/wiki/Options#AppMetadata) where you have one `package.json` file for the app and one top-level for development.\n\nExample usage for the user:\n\n```json\n{\n\t\"name\": \"some-package\",\n\t\"version\": \"1.0.0\",\n\t\"unicorn\": false\n}\n```\n\n### pkgConf.filepath(config)\n\nPass in the `config` returned from any of the above methods.\n\nReturns the filepath to the package.json file or `null` when not found.\n\n\n## Related\n\n- [read-pkg-up](https://github.com/sindresorhus/read-pkg-up) - Read the closest package.json file\n- [read-pkg](https://github.com/sindresorhus/read-pkg) - Read a package.json file\n- [find-up](https://github.com/sindresorhus/find-up) - Find a file by walking up parent directories\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
821 "maintainers": [
822 {
823 "name": "sindresorhus",
824 "email": "[email protected]"
825 }
826 ],
827 "time": {
828 "modified": "2019-04-06T07:05:24.573Z",
829 "created": "2015-09-02T10:27:59.319Z",
830 "1.0.0": "2015-09-02T10:27:59.319Z",
831 "1.0.1": "2015-09-02T16:44:32.797Z",
832 "1.1.0": "2016-01-23T22:49:30.062Z",
833 "1.1.1": "2016-01-24T01:30:19.236Z",
834 "1.1.2": "2016-03-26T08:46:38.266Z",
835 "1.1.3": "2016-05-24T04:00:17.609Z",
836 "2.0.0": "2016-10-10T19:25:09.580Z",
837 "2.1.0": "2017-12-27T09:21:06.593Z",
838 "3.0.0": "2019-03-02T14:12:55.022Z",
839 "3.1.0": "2019-04-06T07:05:21.846Z"
840 },
841 "homepage": "https://github.com/sindresorhus/pkg-conf#readme",
842 "keywords": [
843 "json",
844 "read",
845 "parse",
846 "file",
847 "fs",
848 "graceful",
849 "load",
850 "pkg",
851 "package",
852 "config",
853 "conf",
854 "configuration",
855 "object",
856 "namespace",
857 "namespaced"
858 ],
859 "repository": {
860 "type": "git",
861 "url": "git+https://github.com/sindresorhus/pkg-conf.git"
862 },
863 "author": {
864 "name": "Sindre Sorhus",
865 "email": "[email protected]",
866 "url": "sindresorhus.com"
867 },
868 "bugs": {
869 "url": "https://github.com/sindresorhus/pkg-conf/issues"
870 },
871 "license": "MIT",
872 "readmeFilename": "readme.md"
873 }