{ "_id": "locate-path", "_rev": "10-2d299e42e65af83a652b7fa8ecda7d80", "name": "locate-path", "description": "Get the first path that exists on disk of multiple paths", "dist-tags": { "latest": "6.0.0" }, "versions": { "1.0.0": { "name": "locate-path", "version": "1.0.0", "description": "Get the first path that exists on disk of multiple paths", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/locate-path.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=4" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js" ], "keywords": [ "locate", "path", "paths", "file", "files", "exists", "find", "finder", "search", "searcher", "array", "iterable", "iterator" ], "dependencies": { "p-locate": "^1.0.0", "path-exists": "^3.0.0" }, "devDependencies": { "ava": "*", "xo": "*" }, "xo": { "esnext": true }, "gitHead": "53677e8b93f38e84061d131d3d9455a3509bfa58", "bugs": { "url": "https://github.com/sindresorhus/locate-path/issues" }, "homepage": "https://github.com/sindresorhus/locate-path#readme", "_id": "locate-path@1.0.0", "_shasum": "cacf3ab8bb8a3dee6e7f011d0c850f5d516fea1a", "_from": ".", "_npmVersion": "2.15.11", "_nodeVersion": "4.6.2", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "cacf3ab8bb8a3dee6e7f011d0c850f5d516fea1a", "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-1.0.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/locate-path-1.0.0.tgz_1479637649308_0.8211715335492045" }, "directories": {} }, "1.1.0": { "name": "locate-path", "version": "1.1.0", "description": "Get the first path that exists on disk of multiple paths", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/locate-path.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=4" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js" ], "keywords": [ "locate", "path", "paths", "file", "files", "exists", "find", "finder", "search", "searcher", "array", "iterable", "iterator" ], "dependencies": { "p-locate": "^1.0.0", "path-exists": "^3.0.0" }, "devDependencies": { "ava": "*", "xo": "*" }, "xo": { "esnext": true }, "gitHead": "d8ffb20e1aa08e382e61a95e4aa1aae66dcafb0d", "bugs": { "url": "https://github.com/sindresorhus/locate-path/issues" }, "homepage": "https://github.com/sindresorhus/locate-path#readme", "_id": "locate-path@1.1.0", "_shasum": "bef5eea5d511d2e7438dfeedfc6af8ce6a4dd811", "_from": ".", "_npmVersion": "2.15.11", "_nodeVersion": "4.6.2", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "bef5eea5d511d2e7438dfeedfc6af8ce6a4dd811", "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-1.1.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/locate-path-1.1.0.tgz_1479648048095_0.9578655750956386" }, "directories": {} }, "2.0.0": { "name": "locate-path", "version": "2.0.0", "description": "Get the first path that exists on disk of multiple paths", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/locate-path.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=4" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js" ], "keywords": [ "locate", "path", "paths", "file", "files", "exists", "find", "finder", "search", "searcher", "array", "iterable", "iterator" ], "dependencies": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" }, "devDependencies": { "ava": "*", "xo": "*" }, "xo": { "esnext": true }, "gitHead": "a30b86df0934329c66ff6a2be395db03d65478b8", "bugs": { "url": "https://github.com/sindresorhus/locate-path/issues" }, "homepage": "https://github.com/sindresorhus/locate-path#readme", "_id": "locate-path@2.0.0", "_shasum": "2b568b265eec944c6d9c0de9c3dbbbca0354cd8e", "_from": ".", "_npmVersion": "3.10.9", "_nodeVersion": "7.2.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "2b568b265eec944c6d9c0de9c3dbbbca0354cd8e", "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/locate-path-2.0.0.tgz_1480310853492_0.9661909360438585" }, "directories": {} }, "3.0.0": { "name": "locate-path", "version": "3.0.0", "description": "Get the first path that exists on disk of multiple paths", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/locate-path.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=6" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js" ], "keywords": [ "locate", "path", "paths", "file", "files", "exists", "find", "finder", "search", "searcher", "array", "iterable", "iterator" ], "dependencies": { "p-locate": "^3.0.0", "path-exists": "^3.0.0" }, "devDependencies": { "ava": "*", "xo": "*" }, "gitHead": "d6f19ffa31544161ee94118963deb3b683418151", "bugs": { "url": "https://github.com/sindresorhus/locate-path/issues" }, "homepage": "https://github.com/sindresorhus/locate-path#readme", "_id": "locate-path@3.0.0", "_npmVersion": "5.6.0", "_nodeVersion": "8.11.2", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", "shasum": "dbec3b3ab759758071b58fe59fc41871af21400e", "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", "fileCount": 4, "unpackedSize": 3869, "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" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/locate-path_3.0.0_1529269166609_0.06080172995584565" }, "_hasShrinkwrap": false }, "4.0.0": { "name": "locate-path", "version": "4.0.0", "description": "Get the first path that exists on disk of multiple paths", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/locate-path.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=8" }, "scripts": { "test": "xo && ava && tsd" }, "keywords": [ "locate", "path", "paths", "file", "files", "exists", "find", "finder", "search", "searcher", "array", "iterable", "iterator" ], "dependencies": { "p-locate": "^4.1.0", "path-exists": "^4.0.0" }, "devDependencies": { "ava": "^1.4.1", "tsd": "^0.7.2", "xo": "^0.24.0" }, "gitHead": "ca633cfe3fd4826a7b20dea83f92a152197947fb", "bugs": { "url": "https://github.com/sindresorhus/locate-path/issues" }, "homepage": "https://github.com/sindresorhus/locate-path#readme", "_id": "locate-path@4.0.0", "_nodeVersion": "8.15.0", "_npmVersion": "6.9.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-z/S+3QXsYrP1Cx2ATKAC1nWDc62X+/kE8idJL5O16l28nPTy1hv1z921vSBbrTwL3F9o5aHDSrzHg7Cgy5OGlw==", "shasum": "c52693fa4f3222cd306ba5302e7250bf9b94d05d", "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-4.0.0.tgz", "fileCount": 5, "unpackedSize": 5255, "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" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/locate-path_4.0.0_1555343802859_0.6905435600537719" }, "_hasShrinkwrap": false }, "5.0.0": { "name": "locate-path", "version": "5.0.0", "description": "Get the first path that exists on disk of multiple paths", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/locate-path.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=8" }, "scripts": { "test": "xo && ava && tsd" }, "keywords": [ "locate", "path", "paths", "file", "files", "exists", "find", "finder", "search", "searcher", "array", "iterable", "iterator" ], "dependencies": { "p-locate": "^4.1.0" }, "devDependencies": { "ava": "^1.4.1", "tsd": "^0.7.2", "xo": "^0.24.0" }, "gitHead": "630c0bbd609055c1895089c715649e21000a1ab7", "bugs": { "url": "https://github.com/sindresorhus/locate-path/issues" }, "homepage": "https://github.com/sindresorhus/locate-path#readme", "_id": "locate-path@5.0.0", "_nodeVersion": "8.16.0", "_npmVersion": "6.9.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "shasum": "1afba396afd676a6d42504d0a67a3a7eb9f62aa0", "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "fileCount": 5, "unpackedSize": 6584, "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" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/locate-path_5.0.0_1556974807265_0.2598589421080095" }, "_hasShrinkwrap": false }, "6.0.0": { "name": "locate-path", "version": "6.0.0", "description": "Get the first path that exists on disk of multiple paths", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/locate-path.git" }, "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "engines": { "node": ">=10" }, "scripts": { "test": "xo && ava && tsd" }, "keywords": [ "locate", "path", "paths", "file", "files", "exists", "find", "finder", "search", "searcher", "array", "iterable", "iterator" ], "dependencies": { "p-locate": "^5.0.0" }, "devDependencies": { "ava": "^2.4.0", "tsd": "^0.13.1", "xo": "^0.32.1" }, "gitHead": "3f2dd51787dd7fe22658af7ab817ec542de93b1b", "bugs": { "url": "https://github.com/sindresorhus/locate-path/issues" }, "homepage": "https://github.com/sindresorhus/locate-path#readme", "_id": "locate-path@6.0.0", "_nodeVersion": "14.5.0", "_npmVersion": "6.14.7", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "shasum": "55321eb309febbc59c4801d931a72452a681d286", "tarball": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", "fileCount": 5, "unpackedSize": 7017, "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" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/locate-path_6.0.0_1597081750688_0.7564472004669758" }, "_hasShrinkwrap": false } }, "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` for the first path that exists or `undefined` if none exists.\n\n#### paths\n\nType: `Iterable`\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`\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
\n\t\n\t\tGet professional support for this package with a Tidelift subscription\n\t\n\t
\n\t\n\t\tTidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.\n\t
\n
\n", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "time": { "modified": "2020-08-10T17:49:12.973Z", "created": "2016-11-20T10:27:29.562Z", "1.0.0": "2016-11-20T10:27:29.562Z", "1.1.0": "2016-11-20T13:20:48.318Z", "2.0.0": "2016-11-28T05:27:33.711Z", "3.0.0": "2018-06-17T20:59:26.704Z", "4.0.0": "2019-04-15T15:56:42.988Z", "5.0.0": "2019-05-04T13:00:07.428Z", "6.0.0": "2020-08-10T17:49:10.766Z" }, "homepage": "https://github.com/sindresorhus/locate-path#readme", "keywords": [ "locate", "path", "paths", "file", "files", "exists", "find", "finder", "search", "searcher", "array", "iterable", "iterator" ], "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/locate-path.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/locate-path/issues" }, "license": "MIT", "readmeFilename": "readme.md", "users": { "aretecode": true } }