Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/locate-path.json

raw
1 {
2 "_id": "locate-path",
3 "_rev": "10-2d299e42e65af83a652b7fa8ecda7d80",
4 "name": "locate-path",
5 "description": "Get the first path that exists on disk of multiple paths",
6 "dist-tags": {
7 "latest": "6.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "locate-path",
12 "version": "1.0.0",
13 "description": "Get the first path that exists on disk of multiple paths",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "git+https://github.com/sindresorhus/locate-path.git"
18 },
19 "author": {
20 "name": "Sindre Sorhus",
21 "email": "[email protected]",
22 "url": "sindresorhus.com"
23 },
24 "engines": {
25 "node": ">=4"
26 },
27 "scripts": {
28 "test": "xo && ava"
29 },
30 "files": [
31 "index.js"
32 ],
33 "keywords": [
34 "locate",
35 "path",
36 "paths",
37 "file",
38 "files",
39 "exists",
40 "find",
41 "finder",
42 "search",
43 "searcher",
44 "array",
45 "iterable",
46 "iterator"
47 ],
48 "dependencies": {
49 "p-locate": "^1.0.0",
50 "path-exists": "^3.0.0"
51 },
52 "devDependencies": {
53 "ava": "*",
54 "xo": "*"
55 },
56 "xo": {
57 "esnext": true
58 },
59 "gitHead": "53677e8b93f38e84061d131d3d9455a3509bfa58",
60 "bugs": {
61 "url": "https://github.com/sindresorhus/locate-path/issues"
62 },
63 "homepage": "https://github.com/sindresorhus/locate-path#readme",
64 "_id": "[email protected]",
65 "_shasum": "cacf3ab8bb8a3dee6e7f011d0c850f5d516fea1a",
66 "_from": ".",
67 "_npmVersion": "2.15.11",
68 "_nodeVersion": "4.6.2",
69 "_npmUser": {
70 "name": "sindresorhus",
71 "email": "[email protected]"
72 },
73 "dist": {
74 "shasum": "cacf3ab8bb8a3dee6e7f011d0c850f5d516fea1a",
75 "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-1.0.0.tgz"
76 },
77 "maintainers": [
78 {
79 "name": "sindresorhus",
80 "email": "[email protected]"
81 }
82 ],
83 "_npmOperationalInternal": {
84 "host": "packages-12-west.internal.npmjs.com",
85 "tmp": "tmp/locate-path-1.0.0.tgz_1479637649308_0.8211715335492045"
86 },
87 "directories": {}
88 },
89 "1.1.0": {
90 "name": "locate-path",
91 "version": "1.1.0",
92 "description": "Get the first path that exists on disk of multiple paths",
93 "license": "MIT",
94 "repository": {
95 "type": "git",
96 "url": "git+https://github.com/sindresorhus/locate-path.git"
97 },
98 "author": {
99 "name": "Sindre Sorhus",
100 "email": "[email protected]",
101 "url": "sindresorhus.com"
102 },
103 "engines": {
104 "node": ">=4"
105 },
106 "scripts": {
107 "test": "xo && ava"
108 },
109 "files": [
110 "index.js"
111 ],
112 "keywords": [
113 "locate",
114 "path",
115 "paths",
116 "file",
117 "files",
118 "exists",
119 "find",
120 "finder",
121 "search",
122 "searcher",
123 "array",
124 "iterable",
125 "iterator"
126 ],
127 "dependencies": {
128 "p-locate": "^1.0.0",
129 "path-exists": "^3.0.0"
130 },
131 "devDependencies": {
132 "ava": "*",
133 "xo": "*"
134 },
135 "xo": {
136 "esnext": true
137 },
138 "gitHead": "d8ffb20e1aa08e382e61a95e4aa1aae66dcafb0d",
139 "bugs": {
140 "url": "https://github.com/sindresorhus/locate-path/issues"
141 },
142 "homepage": "https://github.com/sindresorhus/locate-path#readme",
143 "_id": "[email protected]",
144 "_shasum": "bef5eea5d511d2e7438dfeedfc6af8ce6a4dd811",
145 "_from": ".",
146 "_npmVersion": "2.15.11",
147 "_nodeVersion": "4.6.2",
148 "_npmUser": {
149 "name": "sindresorhus",
150 "email": "[email protected]"
151 },
152 "dist": {
153 "shasum": "bef5eea5d511d2e7438dfeedfc6af8ce6a4dd811",
154 "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-1.1.0.tgz"
155 },
156 "maintainers": [
157 {
158 "name": "sindresorhus",
159 "email": "[email protected]"
160 }
161 ],
162 "_npmOperationalInternal": {
163 "host": "packages-12-west.internal.npmjs.com",
164 "tmp": "tmp/locate-path-1.1.0.tgz_1479648048095_0.9578655750956386"
165 },
166 "directories": {}
167 },
168 "2.0.0": {
169 "name": "locate-path",
170 "version": "2.0.0",
171 "description": "Get the first path that exists on disk of multiple paths",
172 "license": "MIT",
173 "repository": {
174 "type": "git",
175 "url": "git+https://github.com/sindresorhus/locate-path.git"
176 },
177 "author": {
178 "name": "Sindre Sorhus",
179 "email": "[email protected]",
180 "url": "sindresorhus.com"
181 },
182 "engines": {
183 "node": ">=4"
184 },
185 "scripts": {
186 "test": "xo && ava"
187 },
188 "files": [
189 "index.js"
190 ],
191 "keywords": [
192 "locate",
193 "path",
194 "paths",
195 "file",
196 "files",
197 "exists",
198 "find",
199 "finder",
200 "search",
201 "searcher",
202 "array",
203 "iterable",
204 "iterator"
205 ],
206 "dependencies": {
207 "p-locate": "^2.0.0",
208 "path-exists": "^3.0.0"
209 },
210 "devDependencies": {
211 "ava": "*",
212 "xo": "*"
213 },
214 "xo": {
215 "esnext": true
216 },
217 "gitHead": "a30b86df0934329c66ff6a2be395db03d65478b8",
218 "bugs": {
219 "url": "https://github.com/sindresorhus/locate-path/issues"
220 },
221 "homepage": "https://github.com/sindresorhus/locate-path#readme",
222 "_id": "[email protected]",
223 "_shasum": "2b568b265eec944c6d9c0de9c3dbbbca0354cd8e",
224 "_from": ".",
225 "_npmVersion": "3.10.9",
226 "_nodeVersion": "7.2.0",
227 "_npmUser": {
228 "name": "sindresorhus",
229 "email": "[email protected]"
230 },
231 "dist": {
232 "shasum": "2b568b265eec944c6d9c0de9c3dbbbca0354cd8e",
233 "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz"
234 },
235 "maintainers": [
236 {
237 "name": "sindresorhus",
238 "email": "[email protected]"
239 }
240 ],
241 "_npmOperationalInternal": {
242 "host": "packages-12-west.internal.npmjs.com",
243 "tmp": "tmp/locate-path-2.0.0.tgz_1480310853492_0.9661909360438585"
244 },
245 "directories": {}
246 },
247 "3.0.0": {
248 "name": "locate-path",
249 "version": "3.0.0",
250 "description": "Get the first path that exists on disk of multiple paths",
251 "license": "MIT",
252 "repository": {
253 "type": "git",
254 "url": "git+https://github.com/sindresorhus/locate-path.git"
255 },
256 "author": {
257 "name": "Sindre Sorhus",
258 "email": "[email protected]",
259 "url": "sindresorhus.com"
260 },
261 "engines": {
262 "node": ">=6"
263 },
264 "scripts": {
265 "test": "xo && ava"
266 },
267 "files": [
268 "index.js"
269 ],
270 "keywords": [
271 "locate",
272 "path",
273 "paths",
274 "file",
275 "files",
276 "exists",
277 "find",
278 "finder",
279 "search",
280 "searcher",
281 "array",
282 "iterable",
283 "iterator"
284 ],
285 "dependencies": {
286 "p-locate": "^3.0.0",
287 "path-exists": "^3.0.0"
288 },
289 "devDependencies": {
290 "ava": "*",
291 "xo": "*"
292 },
293 "gitHead": "d6f19ffa31544161ee94118963deb3b683418151",
294 "bugs": {
295 "url": "https://github.com/sindresorhus/locate-path/issues"
296 },
297 "homepage": "https://github.com/sindresorhus/locate-path#readme",
298 "_id": "[email protected]",
299 "_npmVersion": "5.6.0",
300 "_nodeVersion": "8.11.2",
301 "_npmUser": {
302 "name": "sindresorhus",
303 "email": "[email protected]"
304 },
305 "dist": {
306 "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
307 "shasum": "dbec3b3ab759758071b58fe59fc41871af21400e",
308 "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
309 "fileCount": 4,
310 "unpackedSize": 3869,
311 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJsuvCRA9TVsSAnZWagAAKJ8P/j0FJhuUso5Gpt4CxJDh\n8BOK0XgQpBa7/ZywwygXnB5QuPo+Fe+G4t3mrsc+9MRJrbja4q0eqrtutwnb\n3EYSokKlQj+++9DAMyEamET3XbQVKypSkJ/phXXrzYpSafRkM6H7Zmh1PLIK\nuoGtpbYiGATaUFqbz+sYwkQ0RTweEQTfG+XvgOLVviCDF2Q5TE1wD+w/Lk4V\noGyu1vH1O6nyGuI8+OCZtO/7ub628/5n1WmgYId4CG9umDRPAiIKaQ6IXkhI\nmLy/4FbDGW5dn95YfHxKiJyzJOyE3EagyOEDANkO58htWE2WxdTlHLJrKVgD\ngS6ggUfTrslD7gQYNW3mwBEIBxTeRP7FSdLLEhGsJ7x9+bGEdJnNeKHVwNMX\nujKGOYre3xhwOfzNY+RzmHCXDRxf1gDXFcLQASxaS2CkcYjxDukhDxqL0Egi\n90o0xCX8tEGxuTvDC/1Zlxvin+SWWvPgWHgO0FVZyLEwaM/kL6YZPHQ5Qqg2\n1g+kQoMjFwxqXnY14nPIqPqzsLF4XXtnWr6PI9pZacJfU+OCT14b9vcSmQYY\nf6QnwppSq2ND7SnwVrXMB+JSZSrOMoGf5O2XVyhh3YipmryXp+NauT1GIkAd\nWO5/KdhVqUM7EGFAS8y0kchxFRzswxE7aGqn+o2OqNpKQtBXmfkI3547ncrc\n7Exq\r\n=AQcu\r\n-----END PGP SIGNATURE-----\r\n"
312 },
313 "maintainers": [
314 {
315 "name": "sindresorhus",
316 "email": "[email protected]"
317 }
318 ],
319 "directories": {},
320 "_npmOperationalInternal": {
321 "host": "s3://npm-registry-packages",
322 "tmp": "tmp/locate-path_3.0.0_1529269166609_0.06080172995584565"
323 },
324 "_hasShrinkwrap": false
325 },
326 "4.0.0": {
327 "name": "locate-path",
328 "version": "4.0.0",
329 "description": "Get the first path that exists on disk of multiple paths",
330 "license": "MIT",
331 "repository": {
332 "type": "git",
333 "url": "git+https://github.com/sindresorhus/locate-path.git"
334 },
335 "author": {
336 "name": "Sindre Sorhus",
337 "email": "[email protected]",
338 "url": "sindresorhus.com"
339 },
340 "engines": {
341 "node": ">=8"
342 },
343 "scripts": {
344 "test": "xo && ava && tsd"
345 },
346 "keywords": [
347 "locate",
348 "path",
349 "paths",
350 "file",
351 "files",
352 "exists",
353 "find",
354 "finder",
355 "search",
356 "searcher",
357 "array",
358 "iterable",
359 "iterator"
360 ],
361 "dependencies": {
362 "p-locate": "^4.1.0",
363 "path-exists": "^4.0.0"
364 },
365 "devDependencies": {
366 "ava": "^1.4.1",
367 "tsd": "^0.7.2",
368 "xo": "^0.24.0"
369 },
370 "gitHead": "ca633cfe3fd4826a7b20dea83f92a152197947fb",
371 "bugs": {
372 "url": "https://github.com/sindresorhus/locate-path/issues"
373 },
374 "homepage": "https://github.com/sindresorhus/locate-path#readme",
375 "_id": "[email protected]",
376 "_nodeVersion": "8.15.0",
377 "_npmVersion": "6.9.0",
378 "_npmUser": {
379 "name": "sindresorhus",
380 "email": "[email protected]"
381 },
382 "dist": {
383 "integrity": "sha512-z/S+3QXsYrP1Cx2ATKAC1nWDc62X+/kE8idJL5O16l28nPTy1hv1z921vSBbrTwL3F9o5aHDSrzHg7Cgy5OGlw==",
384 "shasum": "c52693fa4f3222cd306ba5302e7250bf9b94d05d",
385 "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-4.0.0.tgz",
386 "fileCount": 5,
387 "unpackedSize": 5255,
388 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctKm7CRA9TVsSAnZWagAA8sUP/RJrMVKlgUDjbmyXflml\nWBBerBKTqKVH+K0iIlIwzBZc9QcorJ81rHWwPIyQ4DtK+V4ZKI6JMHtlrNxw\nFHjLlmvSCGoYF+dBZozFH0iW1befu/E1ND08w8pMhUAEhkKmH/WP6MWZ3qsi\n7dwFA4idr6j8e0ztWVDmem/mliAQNsrm8pBM4xHhorBO5YlRZ5xhxF1HMbt1\nLPDgy4Voh3v9Z0PIVB9VDAnCoiiXlLSv4U/ur15iaRXHzAiNCK4UTBON/MP7\nD+SmJitW9eiC6yX361aGbZCMb79dMUFIAWRbeQ841EOgt3hgHDFfHyT4IQ9O\nrVPTPZP/dk7vVlBrsBR61DCBxixylBqf6+IhYmdE56nIiRASYJmrB19V2P/v\n4WIAkZsBCIO7ImbPihO0FtsGofeWEwsAEWlkBRX4w4eFVMRJ4Mea5SKh9bVu\ns4yo00vRP95dN/9+h3TmX0ID0NENdEmeJiNa+qRQ4YlFe4v8WG1cEefQWltO\np3gXs/qcHGaZTWO3HUPLZMk0BvK8TALkR965TgcFPuk0wOPgwxSy2h4hEcTi\nOAOjTShbGrU8IG6bbTOnPIewssqqSM3ZwCgjeRHuYlV4Jirlmqv2t2hsfE1q\nGs2y/tGf5w4Uv3P1UTKdppSz0NvXVK7sWt+CN9epvJBCzVKSNleID0OK8DrO\n0Jql\r\n=5JJe\r\n-----END PGP SIGNATURE-----\r\n"
389 },
390 "maintainers": [
391 {
392 "name": "sindresorhus",
393 "email": "[email protected]"
394 }
395 ],
396 "directories": {},
397 "_npmOperationalInternal": {
398 "host": "s3://npm-registry-packages",
399 "tmp": "tmp/locate-path_4.0.0_1555343802859_0.6905435600537719"
400 },
401 "_hasShrinkwrap": false
402 },
403 "5.0.0": {
404 "name": "locate-path",
405 "version": "5.0.0",
406 "description": "Get the first path that exists on disk of multiple paths",
407 "license": "MIT",
408 "repository": {
409 "type": "git",
410 "url": "git+https://github.com/sindresorhus/locate-path.git"
411 },
412 "author": {
413 "name": "Sindre Sorhus",
414 "email": "[email protected]",
415 "url": "sindresorhus.com"
416 },
417 "engines": {
418 "node": ">=8"
419 },
420 "scripts": {
421 "test": "xo && ava && tsd"
422 },
423 "keywords": [
424 "locate",
425 "path",
426 "paths",
427 "file",
428 "files",
429 "exists",
430 "find",
431 "finder",
432 "search",
433 "searcher",
434 "array",
435 "iterable",
436 "iterator"
437 ],
438 "dependencies": {
439 "p-locate": "^4.1.0"
440 },
441 "devDependencies": {
442 "ava": "^1.4.1",
443 "tsd": "^0.7.2",
444 "xo": "^0.24.0"
445 },
446 "gitHead": "630c0bbd609055c1895089c715649e21000a1ab7",
447 "bugs": {
448 "url": "https://github.com/sindresorhus/locate-path/issues"
449 },
450 "homepage": "https://github.com/sindresorhus/locate-path#readme",
451 "_id": "[email protected]",
452 "_nodeVersion": "8.16.0",
453 "_npmVersion": "6.9.0",
454 "_npmUser": {
455 "name": "sindresorhus",
456 "email": "[email protected]"
457 },
458 "dist": {
459 "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
460 "shasum": "1afba396afd676a6d42504d0a67a3a7eb9f62aa0",
461 "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
462 "fileCount": 5,
463 "unpackedSize": 6584,
464 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczYzYCRA9TVsSAnZWagAAoH4QAJ55Du9nat4GZgsgC/+d\nU8skY+UkpMg7sYrxcLFg7iL/6DUrc1QcavNPbQxANFOubfMvadGmSOZjiZeD\nMY2Sf+01Odcj6kW+hpzO3X03by1zzggXvuX4Wzw2L+XPK9yd2zhQViblkr27\nJzp68UqKwEpq4tQtld0nS31cxEe4Rqjeh7i4f1sDJBxix2CEglgX2/HcnAcU\n/SELUZtunAgRBBIons8FdjL2VOhcesPD2fh8ebBpoSmojDUgzlGIWagsmO6X\nYn0ftdcv77ILQBDitLjPWTGK1riAvfJkSOlK2J0LEFLR//yQByICmvPzXr0x\nZom6AYCdhUy5PJkaPuxEMuKJo5DrXuV+cKN9z4Ek5kumOl4H4sR+viKC+/b4\nX96Vxt0eZfT2nERjA31raJtQQVjyJUrt3QZRhf3CUItMDqE0s6+R2abAzUoA\nmF+dIzizSSZKdfy6/sVVcht4ZyxkgMSBtN6q4Pw/aNUDJEWYfqUZ1b9ucMif\nwLpP2MIH6GLQhKoFymqZx7jWzqGduKX25vS9RLZh6keyF3sZMQ618qfbX5cv\n0PJqf/YOx9N+PUeSW+Eu+JFlXlGvpZV4gLlTIlNIRsyHHavLWpw58q9fuLGy\nqFn1eegD45ITp3WdCCqRT+FTrQwomNcnLoN1ESw/fpJVWRG81RWGwaEj43NO\ntmj8\r\n=qQUv\r\n-----END PGP SIGNATURE-----\r\n"
465 },
466 "maintainers": [
467 {
468 "name": "sindresorhus",
469 "email": "[email protected]"
470 }
471 ],
472 "directories": {},
473 "_npmOperationalInternal": {
474 "host": "s3://npm-registry-packages",
475 "tmp": "tmp/locate-path_5.0.0_1556974807265_0.2598589421080095"
476 },
477 "_hasShrinkwrap": false
478 },
479 "6.0.0": {
480 "name": "locate-path",
481 "version": "6.0.0",
482 "description": "Get the first path that exists on disk of multiple paths",
483 "license": "MIT",
484 "repository": {
485 "type": "git",
486 "url": "git+https://github.com/sindresorhus/locate-path.git"
487 },
488 "funding": "https://github.com/sponsors/sindresorhus",
489 "author": {
490 "name": "Sindre Sorhus",
491 "email": "[email protected]",
492 "url": "https://sindresorhus.com"
493 },
494 "engines": {
495 "node": ">=10"
496 },
497 "scripts": {
498 "test": "xo && ava && tsd"
499 },
500 "keywords": [
501 "locate",
502 "path",
503 "paths",
504 "file",
505 "files",
506 "exists",
507 "find",
508 "finder",
509 "search",
510 "searcher",
511 "array",
512 "iterable",
513 "iterator"
514 ],
515 "dependencies": {
516 "p-locate": "^5.0.0"
517 },
518 "devDependencies": {
519 "ava": "^2.4.0",
520 "tsd": "^0.13.1",
521 "xo": "^0.32.1"
522 },
523 "gitHead": "3f2dd51787dd7fe22658af7ab817ec542de93b1b",
524 "bugs": {
525 "url": "https://github.com/sindresorhus/locate-path/issues"
526 },
527 "homepage": "https://github.com/sindresorhus/locate-path#readme",
528 "_id": "[email protected]",
529 "_nodeVersion": "14.5.0",
530 "_npmVersion": "6.14.7",
531 "_npmUser": {
532 "name": "sindresorhus",
533 "email": "[email protected]"
534 },
535 "dist": {
536 "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
537 "shasum": "55321eb309febbc59c4801d931a72452a681d286",
538 "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
539 "fileCount": 5,
540 "unpackedSize": 7017,
541 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMYiXCRA9TVsSAnZWagAAyK8P/3SNlcCQmgFF6osCwtX0\nHZHL9+x3un+fWB9xVeOxQs5zsVJ3u30+/eGk/L4hLTLdbUOGkfOtynZVVlLB\nVscrbZ6P5pC9xXxva47U1wKG8/tLX0hgA5VgSMLdm3+1ntyGy4PBd5Vq1jP6\nreN2XTCnU52xUM4WJoto21+VrrxeeM0iJBaWCNZQ016Su3BSlb0R2NX81oVD\nmXY/HAYGrVl4gmfIzU/DCR3wVEo7Nn/tSttLPqpp8A0CqWO9CdE8vC0yq1nx\ncR1Rk3xHY4eY+6n2+zB+yTYT2Kh4NI6zLVrqOkrlFCRZBZTas2UH6Txz0I4v\nuJKkBwepTYVJ/CghYPVkRwBZ5xaBTWUpqCAUaEl69QG/ep7xuVorMwRCO6CT\n6fAkQKtUNYnip6bpCBG/OLdPXDlYsyH+FlzIHBcwEf9IWUCrPlRwLuxwdrb9\nok5YB/mneYXsLRCtDaG+uYqx0RrWWAlotkN8mbFUBGCCZ1xOPwrnQ+wULdI+\nb0OHtZGk2FHY2ZouQNlyLPOJj2BKOoS0JoO4KCKxrCAN2jB3WjGwI/Ho03nk\nNMaUciSfAKFNqaKWTPE8HxKRkUuaqO+bdjiZd/YhsXzV+woNkWSPiBpgCrk9\n7gzhx42b6wJEfnFpSXjhpwA83xfjJ0jUMf2vwP6GVXVWxB1pT+d/AzW1U6tT\nksQO\r\n=UukL\r\n-----END PGP SIGNATURE-----\r\n"
542 },
543 "maintainers": [
544 {
545 "name": "sindresorhus",
546 "email": "[email protected]"
547 }
548 ],
549 "directories": {},
550 "_npmOperationalInternal": {
551 "host": "s3://npm-registry-packages",
552 "tmp": "tmp/locate-path_6.0.0_1597081750688_0.7564472004669758"
553 },
554 "_hasShrinkwrap": false
555 }
556 },
557 "readme": "# locate-path [![Build Status](https://travis-ci.com/sindresorhus/locate-path.svg?branch=master)](https://travis-ci.com/github/sindresorhus/locate-path)\n\n> Get the first path that exists on disk of multiple paths\n\n## Install\n\n```\n$ npm install locate-path\n```\n\n## Usage\n\nHere we find the first file that exists on disk, in array order.\n\n```js\nconst locatePath = require('locate-path');\n\nconst files = [\n\t'unicorn.png',\n\t'rainbow.png', // Only this one actually exists on disk\n\t'pony.png'\n];\n\n(async () => {\n\tconsole(await locatePath(files));\n\t//=> 'rainbow'\n})();\n```\n\n## API\n\n### locatePath(paths, options?)\n\nReturns a `Promise<string>` for the first path that exists or `undefined` if none exists.\n\n#### paths\n\nType: `Iterable<string>`\n\nPaths to check.\n\n#### options\n\nType: `object`\n\n##### concurrency\n\nType: `number`\\\nDefault: `Infinity`\\\nMinimum: `1`\n\nNumber of concurrently pending promises.\n\n##### preserveOrder\n\nType: `boolean`\\\nDefault: `true`\n\nPreserve `paths` order when searching.\n\nDisable this to improve performance if you don't care about the order.\n\n##### cwd\n\nType: `string`\\\nDefault: `process.cwd()`\n\nCurrent working directory.\n\n##### type\n\nType: `string`\\\nDefault: `'file'`\\\nValues: `'file' | 'directory'`\n\nThe type of paths that can match.\n\n##### allowSymlinks\n\nType: `boolean`\\\nDefault: `true`\n\nAllow symbolic links to match if they point to the chosen path type.\n\n### locatePath.sync(paths, options?)\n\nReturns the first path that exists or `undefined` if none exists.\n\n#### paths\n\nType: `Iterable<string>`\n\nPaths to check.\n\n#### options\n\nType: `object`\n\n##### cwd\n\nSame as above.\n\n##### type\n\nSame as above.\n\n##### allowSymlinks\n\nSame as above.\n\n## Related\n\n- [path-exists](https://github.com/sindresorhus/path-exists) - Check if a path exists\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-locate-path?utm_source=npm-locate-path&utm_medium=referral&utm_campaign=readme\">Get professional support for this package 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",
558 "maintainers": [
559 {
560 "name": "sindresorhus",
561 "email": "[email protected]"
562 }
563 ],
564 "time": {
565 "modified": "2020-08-10T17:49:12.973Z",
566 "created": "2016-11-20T10:27:29.562Z",
567 "1.0.0": "2016-11-20T10:27:29.562Z",
568 "1.1.0": "2016-11-20T13:20:48.318Z",
569 "2.0.0": "2016-11-28T05:27:33.711Z",
570 "3.0.0": "2018-06-17T20:59:26.704Z",
571 "4.0.0": "2019-04-15T15:56:42.988Z",
572 "5.0.0": "2019-05-04T13:00:07.428Z",
573 "6.0.0": "2020-08-10T17:49:10.766Z"
574 },
575 "homepage": "https://github.com/sindresorhus/locate-path#readme",
576 "keywords": [
577 "locate",
578 "path",
579 "paths",
580 "file",
581 "files",
582 "exists",
583 "find",
584 "finder",
585 "search",
586 "searcher",
587 "array",
588 "iterable",
589 "iterator"
590 ],
591 "repository": {
592 "type": "git",
593 "url": "git+https://github.com/sindresorhus/locate-path.git"
594 },
595 "author": {
596 "name": "Sindre Sorhus",
597 "email": "[email protected]",
598 "url": "https://sindresorhus.com"
599 },
600 "bugs": {
601 "url": "https://github.com/sindresorhus/locate-path/issues"
602 },
603 "license": "MIT",
604 "readmeFilename": "readme.md",
605 "users": {
606 "aretecode": true
607 }
608 }