{"_id":"look-it-up","_rev":"7-648378f9c31333815b8975a642a99653","name":"look-it-up","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"look-it-up","version":"1.0.0","description":"Find a file or directory by walking up parent directories recursively. Zero dependency.","main":"dist/index.js","module":"dist/index.es.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf .cache dist coverage","dts":"tsc -d --emitDeclarationOnly --declarationDir .cache","bundle":"rollup -c","build":"yarn clean && yarn dts && yarn bundle","lint":"ts-standardx","lint:fix":"ts-standardx --fix","test":"yarn build && yarn lint && jest --no-cache"},"repository":{"type":"git","url":"git+https://github.com/exuanbo/look-it-up.git"},"keywords":["look-up","find-up","path","file","directory","search","match","recursive"],"author":{"name":"exuanbo"},"license":"MIT","bugs":{"url":"https://github.com/exuanbo/look-it-up/issues"},"homepage":"https://github.com/exuanbo/look-it-up#readme","devDependencies":{"@rollup/plugin-typescript":"6.1.0","@types/jest":"26.0.15","jest":"26.6.3","rollup":"2.33.1","rollup-plugin-dts":"1.4.13","ts-jest":"26.4.3","ts-standardx":"0.1.0","tslib":"2.0.3","typescript":"4.0.5"},"licenseText":"MIT License\n\nCopyright (c) 2020 Exuanbo\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"look-it-up@1.0.0","dist":{"shasum":"1d8a61995be1fb28b0d93d9a2d0dbd4d083e3d4f","integrity":"sha512-TEmTUaMAdnyhzlyXg3RtQsAokgHRa5tmEnv2sIIjYJyLHtfylBYvcgYwLm9KW10gXOemLMtCBmR+n7URprRAUg==","tarball":"https://registry.npmjs.org/look-it-up/-/look-it-up-1.0.0.tgz","fileCount":8,"unpackedSize":10226,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfp1VMCRA9TVsSAnZWagAAyvcQAJGlO/MHnOkP4x/HEnkO\nfhQimcS8meEthM8TzJXu+RZg9enGwKThKfMLpI5tzX3nW+FYhHannh5Q7U0r\nTyscVwOu/C4jhQLQoafPZZqT59UJYvE7ffMGHTMSrjw71pstkrOLkC977fNF\nZtxF247VaAKhg/c6xEVGs7++89KAKx9j4lA6tzW0E8+C9zQr6dT74VAcPoi6\nWnnXxVAeDS0gC3wPz6CsV+vRtk/6x65HWbyOGzGuB/JMxGHouiXTmRwmH/Lr\nlTNCfoO2Yfy2otQP+ZEi661eLV55GS1XQOvoqMBS2sCx5p0bVEAe4Ie4AMsO\nTJFtb3QHfgIe6O4Lz6jkRPsJplyToZ2kI7PBcfjN/kktlbAruPFqZgvNMFDh\nCNjEyPa1j1Qg2a6S5+wOjs9FfnJoFniYSOnIV2BxQLYPfVqpC3bp3ZyclByV\na8xxvrvxk3DAK2TmwVpMgwedmolyaJIojITwGJKoclopDNhmhxV7yCCSn1bj\nASb+x5eDg0ihV4muNI7ax8Bn3jli6B25TKl6V/6en9ct5yPwDy5n9ZufQ2oP\nIRaTV9cc9/H/mFhxrGitghSUjebp3s1nlBe5YZiQskFtSzUFs2y3ZYfe9qcl\nYhZ/NZ5U7/ukPNaoi54xr7ROVUqjspY2KNW2h+u4L/rAnOnw2BixU0SXTuuw\nNL/x\r\n=srwb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDEX6JjLs+PLRiHmpNmZJXmvyAodUob08MsXKZ1M2ZC/AiBzs/8xOTgQRhrx1lzuJFGfVYBK/hbiUCztMIHc5Ka/zg=="}]},"_npmUser":{"name":"exuanbo","email":"exuanbo@protonmail.com"},"directories":{},"maintainers":[{"name":"exuanbo","email":"exuanbo@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/look-it-up_1.0.0_1604801867922_0.9311740680967453"},"_hasShrinkwrap":false},"1.1.0":{"name":"look-it-up","version":"1.1.0","description":"Find a file or directory by walking up parent directories recursively. Zero dependency.","main":"dist/index.js","module":"dist/index.es.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf .cache dist coverage","dts":"tsc -d --emitDeclarationOnly --declarationDir .cache","bundle":"rollup -c","build":"yarn clean && yarn dts && yarn bundle","lint":"ts-standardx","lint:fix":"ts-standardx --fix","test":"yarn build && yarn lint && jest --no-cache"},"repository":{"type":"git","url":"git+https://github.com/exuanbo/look-it-up.git"},"keywords":["look-up","find-up","path","file","directory","search","match","recursive"],"author":{"name":"exuanbo"},"license":"MIT","bugs":{"url":"https://github.com/exuanbo/look-it-up/issues"},"homepage":"https://github.com/exuanbo/look-it-up#readme","devDependencies":{"@rollup/plugin-typescript":"6.1.0","@types/jest":"26.0.15","jest":"26.6.3","rollup":"2.33.1","rollup-plugin-dts":"1.4.13","ts-jest":"26.4.3","ts-standardx":"0.1.0","tslib":"2.0.3","typescript":"4.0.5"},"licenseText":"MIT License\n\nCopyright (c) 2020 Exuanbo\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"look-it-up@1.1.0","dist":{"shasum":"d42e9e1bea242ecb186eb1a7e7dd08f67989f15f","integrity":"sha512-Gv68VRIWBrsunbm/8BRJg1aLRR4oJh3KmLGBReda9nSBxu1OfVL6OLfB5eEdl/w+PMT0p0P6cZkpjTSQHaaJlw==","tarball":"https://registry.npmjs.org/look-it-up/-/look-it-up-1.1.0.tgz","fileCount":8,"unpackedSize":11775,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqGM/CRA9TVsSAnZWagAAOi8QAKSTVuBnLDxPolgzDBh3\nTMDQ07KzTQKQFIPalCuQl4a1FarEooE12houRpYN699p643QEWQDC6zQLyb8\n2klmA/Ak7aukv5U640N8J47c3xpXee94k6F+h9bw61CSqBHhV7VntQUdyF4x\nXqBvCLL19AG412ABImGsaVFgKBJntPRDwVDtlLxPAWOdJXkqxfZxjd4yEuXK\nQwZzMl7RwyttY8bjHgArmkURodaA/Jo9folN55KF0m9ZTbWECm2K821jr2+G\nUgPJAXw4yxj4Tv5T/9DEnp2youBOYndNa47zCGuyBR6zYYq2ZadkeXXFZBYL\nRAMN3yYO/efODPkVDNOH/zWHN/ecYv3nGeehF5ANQjA0OrPox3BNLJB6Tzxw\nvKIu5SJ5eBwSB9zqWEgZ3nvFqQ/TjiVj436sWDxVn8YBXgPL2G/ilVnxsDyw\nrOeQjaXtXssgSft1dUQg6jtHp2UblQPQ59tlrmbrqnHaTtgWoMCs/i9wiL54\nXQSAi8VRR9w5xOY1V19M7EZjbq6zgDFOpNQ955bOZq35cGuNoHJ8jlHwguxj\nt+LwHohdXtDmbEL+lyD1FpC3TftjdAn3Zxhn8OBE4HzPUXZTKcdNZnq1D9Wl\nT7RC35aodvP/kDP7Y8Pv00fu7sm7gR4HjWrAVHNUSfVaYQ8UD2jTYnyXoPEf\nxB21\r\n=rZlZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1LU4xE3/cOg3xKmRd+I6xchnig6e2f4d8fJHHyb8gFwIhANpUwbXhNROUUU8io0ajLD+jm+POOwJ1lKxmRFBQlxu6"}]},"_npmUser":{"name":"exuanbo","email":"exuanbo@protonmail.com"},"directories":{},"maintainers":[{"name":"exuanbo","email":"exuanbo@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/look-it-up_1.1.0_1604870975375_0.25242183998349477"},"_hasShrinkwrap":false},"1.1.1":{"name":"look-it-up","version":"1.1.1","description":"Find a file or directory by walking up parent directories recursively. Zero dependency.","main":"dist/index.js","module":"dist/index.es.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf .cache dist coverage","dts":"tsc -d --emitDeclarationOnly --declarationDir .cache","bundle":"rollup -c","build":"yarn clean && yarn dts && yarn bundle","lint":"ts-standardx","lint:fix":"ts-standardx --fix","test":"yarn build && yarn lint && jest --no-cache"},"repository":{"type":"git","url":"git+https://github.com/exuanbo/look-it-up.git"},"keywords":["look-up","find-up","path","file","directory","search","match","recursive"],"author":{"name":"exuanbo"},"license":"MIT","bugs":{"url":"https://github.com/exuanbo/look-it-up/issues"},"homepage":"https://github.com/exuanbo/look-it-up#readme","devDependencies":{"@rollup/plugin-typescript":"6.1.0","@types/jest":"26.0.15","jest":"26.6.3","rollup":"2.33.1","rollup-plugin-dts":"1.4.13","ts-jest":"26.4.4","ts-standardx":"0.2.0-1","tslib":"2.0.3","typescript":"4.0.5"},"licenseText":"MIT License\n\nCopyright (c) 2020 Exuanbo\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"look-it-up@1.1.1","dist":{"shasum":"6da8d507837d04272647c4ceb15a8f148f4c015b","integrity":"sha512-mvURXK+RLDoM+wfGlzQTRsbkmZlZ0PqqQH1o3+dpgIm8uAoRC7JmEcnudYh7unWZzWa7SJP+ADsR7ZKGgMn94w==","tarball":"https://registry.npmjs.org/look-it-up/-/look-it-up-1.1.1.tgz","fileCount":8,"unpackedSize":11892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqWy8CRA9TVsSAnZWagAAt/0P/A1naEKGCLnKYq9WdM9x\n/VR3Y7eV+7Q0sVMiWw7E8I+MpSo2F1B4TJ3XbKa1zV20sjensxmhTMGuO7az\neqFnWYx8uLaRG5byCBCm6+rd2LEvg/kfEC10atzFDwbHtc8cJKK/wnUVgf5z\n+muudr4vpBFFbkmk4nHgeakA7HfgR5lwIAFc1XXNxDdbwXkqHlMjiP6BhAsL\nUMExfGUbsy42Bf3roKlO2/pJ17mzKOxJCyJDRNsbCI+K0PdmPYIQMW/xLitv\n8CwoREzBK/FCHctGmeojvnuHvSStX0Cl2ddkKKTX5qxUBa5WvWWT3BHxLQit\npiO0lOTYmSIOOX/t5jFqQkLykVH5LuEx3peSQ1zzNwyKGtURzWbqUNMPji3Q\ngxY5wWZZdoALfvVVx2XeiFUtamZKnVVUxx6JzXlwDyDpsuFz4VGWaVaUutJ3\nyYWYGCLBWR2YvLyzVXTZQCcRK9fr0rpD0HbqhaQv5XL/36X9Abg4OLi/Nh1N\nGdDNikcNVk3Pz/tFNSLnNccvGbBwPFcCIiwOSTRe3UoywwNqIDLeSxNWuMVn\nv1yk4yhNIr0lfmQYlY5JcLnvsr8Ex1sb+jdAUQJ5ikgWZsyRZEP1oONaBnlh\nQtmAjv4Pb/CQXx+HvyFTHZFEM/sQB3WMSV/Mdx47K8xp67tEcNDwLMxAIaGj\nrsGo\r\n=FGDe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGn/d/+kc/PGte7jtjN2RcGu6/t0DwVBMx3NKEyNLYnPAiEAqszA9QFApNnOpYJdGOBgQoOIzD+8Z+PvL39I9wYCu/8="}]},"_npmUser":{"name":"exuanbo","email":"exuanbo@protonmail.com"},"directories":{},"maintainers":[{"name":"exuanbo","email":"exuanbo@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/look-it-up_1.1.1_1604938939671_0.628037957925982"},"_hasShrinkwrap":false},"1.1.2":{"name":"look-it-up","version":"1.1.2","description":"Find a file or directory by walking up parent directories recursively. Zero dependency.","main":"dist/index.js","module":"dist/index.es.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf .cache dist coverage","dts":"tsc -d --emitDeclarationOnly --declarationDir .cache","bundle":"rollup -c","build":"yarn clean && yarn dts && yarn bundle","lint":"ts-standardx","lint:fix":"ts-standardx --fix","test":"yarn build && yarn lint && jest --no-cache"},"repository":{"type":"git","url":"git+https://github.com/exuanbo/look-it-up.git"},"keywords":["look-up","find-up","path","file","directory","search","match","recursive"],"author":{"name":"exuanbo"},"license":"MIT","bugs":{"url":"https://github.com/exuanbo/look-it-up/issues"},"homepage":"https://github.com/exuanbo/look-it-up#readme","devDependencies":{"@rollup/plugin-typescript":"6.1.0","@types/jest":"26.0.15","jest":"26.6.3","rollup":"2.33.1","rollup-plugin-dts":"1.4.13","ts-jest":"26.4.4","ts-standardx":"0.2.0-1","tslib":"2.0.3","typescript":"4.0.5"},"licenseText":"MIT License\n\nCopyright (c) 2020 Exuanbo\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"look-it-up@1.1.2","dist":{"shasum":"82e066affa195f3e2ea3f1a984451ae0b9a4cf0d","integrity":"sha512-oE09c6WKnaGSzodqspAozC9AJg+91/F60yKZ0vCxw+PY6sjAHBoI/rxVpRbvd3jcAr+glHRVrrPnmQIkRlis4w==","tarball":"https://registry.npmjs.org/look-it-up/-/look-it-up-1.1.2.tgz","fileCount":8,"unpackedSize":11884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrHL8CRA9TVsSAnZWagAA6+sP/01HN2h+ILu7z6mTabDB\npnBxI49wpYFEMsGx5F9dkXcMR9l7o9W8iTy+LdRpZb4lsZeIacKWUpG+zsom\nWipV+xn3ouAI8DUFU96Yb/8wDM8/xMPr07Xf+dHMLSjLmEcAtvlPlVj/QPkX\n5MOcBqMB1rzZgxglHHP+gkIEyz/tIbN67KQhc5nE/kmeUfwvxOu4cLgq76Qq\nbXjDhjMOKNP+nuQjla/85SMurpZXOKJYQvu6GS3v+SSEIGiH+RgdGthSn/31\nj5boIqSXQTJK9eaM36Yhd0B2cfSkmPIqMdQlZ8Xi8GR04m5tyXHu3SzVZohA\nBlJFU/LNLMpPvqeKu1ertZW4JajuiQG0QMA87cRBtka5UrkwhfU6+tMf5QuX\nlrjRviD29cGswznO9pcsAjo/WDrhDHBsWIrB/awqIJXeBezFFkmxExKsslS6\ncw3HlXZsMn38KHvKRE9Zhj0HzfmSjuj/pBeuYMSsPgbKWXu7LIRbx7X5aGGD\npYbejpnufWzuq/3UB05LFBzpw1mp5x1o53I8Ul/vxCvyL15WCEHDKWdwU/tc\noM1bwra/Cj3qEfrYymID5WgTQeX+LbR8vH9VuGHszvBJc8Z3YxJsEQaU43aB\nS0b/dwIFqkNYlze85nFkowSl0SpRFn4lsG+4NtJavinZmUkwtKDhXfFMZMfv\nEO70\r\n=BXIe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFNN0cYJ5fWJ9kakc6G0StHIl7HS8u9v/dapnC5rFblAiAy5thYgI6T+mL8CTJrsL3BK5r6GGAWotaREMRMWzTIhg=="}]},"_npmUser":{"name":"exuanbo","email":"exuanbo@protonmail.com"},"directories":{},"maintainers":[{"name":"exuanbo","email":"exuanbo@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/look-it-up_1.1.2_1605137148004_0.8002505622162757"},"_hasShrinkwrap":false},"1.2.0":{"name":"look-it-up","version":"1.2.0","description":"Find a file or directory by walking up parent directories recursively. Zero dependency.","main":"dist/index.js","module":"dist/index.es.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf .cache dist coverage","dts":"tsc -d --emitDeclarationOnly --declarationDir .cache","bundle":"rollup -c","build":"npm run clean && npm run dts && npm run bundle","lint":"ts-standardx","lint:fix":"ts-standardx --fix","test":"npm run lint && npm run build && jest --no-cache"},"repository":{"type":"git","url":"git+https://github.com/exuanbo/look-it-up.git"},"keywords":["look-up","find-up","path","file","directory","search","match","recursive"],"author":{"name":"exuanbo"},"license":"MIT","bugs":{"url":"https://github.com/exuanbo/look-it-up/issues"},"homepage":"https://github.com/exuanbo/look-it-up#readme","devDependencies":{"@rollup/plugin-typescript":"8.2.0","@types/jest":"26.0.20","jest":"26.6.3","rollup":"2.39.0","rollup-plugin-dts":"2.0.1","ts-jest":"26.5.1","ts-standardx":"0.7.0","tslib":"2.1.0","typescript":"4.1.5"},"gitHead":"01cf1084196f5ca801b0e69a5fcdffde06b2bf8d","_id":"look-it-up@1.2.0","_nodeVersion":"14.15.4","_npmVersion":"7.5.4","dist":{"integrity":"sha512-xPd8SecLCozRZXkyE6V4Zj9hL1hTbehcVCW81ttGSnRwcT5XWjIXG+XKMfrwU5surjleUU1gElCkctUu4s9i+A==","shasum":"d6b56361e12fae276ec41ff2dd756f15dce5cb9c","tarball":"https://registry.npmjs.org/look-it-up/-/look-it-up-1.2.0.tgz","fileCount":13,"unpackedSize":17391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKp8CCRA9TVsSAnZWagAAc1cP+QFeLJVtf6ZxaV810vxP\nJiT7dMP6ZS5p2Ft4LsfDqEHg7kpiHNbKKF/Qf0OmoYY8t0fzhheJv5FsUL/K\nRYF563OvSUR7O5MlgZ4TrE+Q7N9GoISS2nYOV0gyPEn0mS1lxDmIFNjeW3u6\nb5KIp5L3z495GQOSEVpbwZgiMVe/N4zSH9jnXBRH22M8GKMxEyLo6nsF9SSN\n4g7Xepxdn6t3pZnEC/UX2Bpj6d8YJ8lSxILrJKpwOoxrkJImt9/ibdhM1dZI\n0aj0AK8rSe73DNZP5ixoMoalPLAkFpEJijG16EVQYgNBX/uUEoVaxY6r9CLx\nZZVNG4HOw80HuzFLY09C5uMXS9SNpTavtPfwjYVL7z+15EqDp4KLZPhgPqWy\nRUY+ADrxH+Zml5svlAVuXwmvhWU17hOKDF/OFK7OIrVtQyFF3vRlldrHStrD\nswyWq/vGN2rSruaPEC01JBwQkJmUieNAOFhoanq0HLljKby+EvQTyhF/vCu3\ngjsewQYN+VLaCddKdWWWHYPD6NKipYlsMkkT1YfxDQaXoY+pxl5XP0SZgiwe\nLZ2d08UDDJ0+cmc2MmCJLMgmA6QuCS80DVpex0OWgC9+pH4eEmJsllUYiw4s\nbGTbswOG2YJvtrKodw46w2WhlxTFmMQKWv8MVdfr88eB96LTXRFk6VxJRFRP\n54CQ\r\n=IfmK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBidkh6ggwDNgKjcpTIMxmaqi51j8cnMBQgJ6yWPCC+XAiEAy5oD2j8MLimAru6k8E0NAVPzg9mKVCDdvmXLCk4yZyM="}]},"_npmUser":{"name":"exuanbo","email":"exuanbo@protonmail.com"},"directories":{},"maintainers":[{"name":"exuanbo","email":"exuanbo@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/look-it-up_1.2.0_1613405954331_0.1914194287304174"},"_hasShrinkwrap":false},"2.0.0":{"name":"look-it-up","version":"2.0.0","description":"Find a file or directory by walking up parent directories recursively. Zero dependency.","main":"dist/index.js","module":"dist/index.es.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf .cache dist coverage","dts":"tsc -d --emitDeclarationOnly --declarationDir .cache","bundle":"rollup -c","build":"npm run clean && npm run dts && npm run bundle","lint":"ts-standardx","lint:fix":"ts-standardx --fix","test":"npm run lint && npm run build && jest --no-cache"},"repository":{"type":"git","url":"git+https://github.com/exuanbo/look-it-up.git"},"keywords":["look-up","find-up","path","file","directory","search","match","recursive"],"author":{"name":"exuanbo"},"license":"MIT","bugs":{"url":"https://github.com/exuanbo/look-it-up/issues"},"homepage":"https://github.com/exuanbo/look-it-up#readme","devDependencies":{"@rollup/plugin-typescript":"8.2.0","@types/jest":"26.0.20","jest":"26.6.3","rollup":"2.39.0","rollup-plugin-dts":"2.0.1","ts-jest":"26.5.1","ts-standardx":"0.7.0","tslib":"2.1.0","typescript":"4.1.5"},"gitHead":"95e83615d2329eed8025d90c172731065a8cdf84","_id":"look-it-up@2.0.0","_nodeVersion":"14.15.4","_npmVersion":"7.5.4","dist":{"integrity":"sha512-3T7v3xPk1tItqRtrOp2q+velIaz5T3pU5OhTiDCQuA/AumhDBFgy7twXoJkdU5/zMOR4LkIS/qIbMG7DKbvqnA==","shasum":"daff58e2de9c7f9f43dd3a423f25156eba03824d","tarball":"https://registry.npmjs.org/look-it-up/-/look-it-up-2.0.0.tgz","fileCount":13,"unpackedSize":16998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMqdZCRA9TVsSAnZWagAAEzkQAKO6HghhFUbdOgb6q47F\nEMPCdbE8wTOR0ei4yq9MAn5AOR80Ik8ovPBJK1Y16d1Ep8KLHTGy0toybMqF\njDzDI4/4Vhlb5wF2CiYruuiNpRHuteg+3ID0OVDE1ZRRA1o81F1iD58wt9ku\n60sMjFPP2lQRFqMrIgjv/8XStBwY/11Qr3T/Knf3p6HjzAkZ+jckTMMAzwDU\nR5SALST2RWpNy2gMunKYzZuRrX463waUnsX3iF80f2S8zKCEOsFSXpS4Qgfo\noPPE6xj26Npxr4i+YBag8Jvm1+yh2Fa107G1cXawhTJ4q08BkCBUMuR0FARu\npZ6CMeO3JRYcYUKt4fFwXMlEmq+njWeaCHMsC8e8tdVfDNCBFNcCleRBdp+K\nHlwa6Nmm2kRoIpz3ZjuCOD3Lh3t/fEJwP4rbEQWm8+ZL88uWVl5rUEcr2wUK\n0zPHWOOZ85Rt0rNCxmCvHzRT8tEHZSxXHk6EAPsr7eahaNyFsJRy/ZFA0P6m\nDHjGe0Y1Un96YYfCgtp3OkPKnk7F6MuUvgET9fdlnLoq5S8O4hcSL07Q1FtI\nlAMOyS2KzXExdqPptVN4Kywsq9Vg1Jt+LsszpksIwh3DKmA5QVHAXZVIWfT9\nQ6/gmpi4MlG9LmnudG+0CgqXVwfQVS+jQXlNxtEmCOFYiyS04S/icsB7pH5u\ntzY4\r\n=+KaZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICD5z0n/J4TFgEnQKTz0wv1VGy7Z7oKvf3aIz8lc7+IzAiBt2CL81rR8SY5bOu97+8c8JBpoAp03Xai8QoJxONP5Kg=="}]},"_npmUser":{"name":"exuanbo","email":"exuanbo@protonmail.com"},"directories":{},"maintainers":[{"name":"exuanbo","email":"exuanbo@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/look-it-up_2.0.0_1613932376605_0.5421925897339488"},"_hasShrinkwrap":false},"2.1.0":{"name":"look-it-up","version":"2.1.0","description":"Find a file or directory by walking up parent directories recursively. Zero dependency.","sideEffects":false,"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"},"scripts":{"clean":"rm -rf .cache dist","dts":"tsc -p tsconfig.dts.json","bundle":"rollup -c","build":"npm run clean && npm run dts && npm run bundle","lint":"ts-standardx","lint:fix":"ts-standardx --fix","test":"npm run lint && npm run build && jest --no-cache"},"repository":{"type":"git","url":"git+https://github.com/exuanbo/look-it-up.git"},"keywords":["look-up","find-up","path","file","directory","search","match","recursive"],"author":{"name":"exuanbo"},"license":"MIT","bugs":{"url":"https://github.com/exuanbo/look-it-up/issues"},"homepage":"https://github.com/exuanbo/look-it-up#readme","devDependencies":{"@types/jest":"27.0.3","@types/node":"16.11.11","esbuild":"0.14.2","jest":"27.4.3","rollup":"2.60.2","rollup-plugin-dts":"4.0.1","rollup-plugin-esbuild-transform":"1.3.2","ts-jest":"27.0.7","ts-standardx":"0.8.4","typescript":"4.4.4"},"gitHead":"1ceee99f7389ee7f2f93d5d0b6ea98800dd195ae","_id":"look-it-up@2.1.0","_nodeVersion":"16.13.1","_npmVersion":"8.2.0","dist":{"integrity":"sha512-nMoGWW2HurtuJf6XAL56FWTDCWLOTSsanrgwOyaR5Y4e3zfG5N/0cU5xWZSEU3tBxhQugRbV1xL9jb+ug7yZww==","shasum":"278a7ffc9da60a928452a0bab5452bb8855d7d13","tarball":"https://registry.npmjs.org/look-it-up/-/look-it-up-2.1.0.tgz","fileCount":15,"unpackedSize":13946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrLG/CRA9TVsSAnZWagAAFFUP/RIQVrGYxxsxeFVKQFqs\nNKwML20ImV85eOEBdL8IpN8fprKRCBItP3nS5qkpXduomKUbhBV1q6sKOLZA\nkwBrUqVFoqxSeXN/obcPa+Nt2blVqXmrZpKWLjjuCKqkhTrmStkss6cPu668\nPPjQ2p97mqBGVGMiTkqeIYtdgaRfPXhE1qNR3GUTynnaNThkB7c+EEh8xfyh\n4JTU+9vUrsacH9qDYLYwZVyao71uJnL212Y5m6UXETUkSriNyGR8XLgfvlvO\nFWekZHzntCFMhhn6PxdsZTNq55XSSLthkbfNEW9rqEJ2BBjwcQLKoaDsWTxo\nwJ6TgSfxKDOqOVfWpLs3dH3tR7nT1nLzelIb5ynSQqkIRmAGY9dy+6Xeiaoj\negGPFI4577RfW0fQzMDgKlQkWz3K8EKVmY+XVwPIrlBpo++hQ9TjokP11mzV\nFNqAlC51cOC+wRfc4beZQ4PSeuyG6HCHvS+5l2H6vCC++0h68BTX7VO6as1a\nam6kwo2aPnU6jaHvB1tRlHpo6gGb8ctCjuRbUKBxKHMbPam8O8QaCFWaHWDP\njdk+Qxl/qydO07mw/prNbHruK/4K6qMcn2YR2HzM5pLQcmioZLM/N7H6Z36s\ngvU3hCR4kVJ9NrS5XR5QTG/d8+d6ZTcgZgn1nwsb/RAItVDycX2OxUfjop52\n2xck\r\n=TtCq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHfGw/9z02Yz6iGLn4xdtDCgIOAAYq+VX8ggsWPLTfnMAiAohOALhogtOALwoQ+/EKO34L3ik7qES039+hTioRV4xg=="}]},"_npmUser":{"name":"exuanbo","email":"exuanbo@protonmail.com"},"directories":{},"maintainers":[{"name":"exuanbo","email":"exuanbo@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/look-it-up_2.1.0_1638707647269_0.825759551192849"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-08T02:17:47.921Z","1.0.0":"2020-11-08T02:17:48.086Z","modified":"2022-05-08T10:17:07.271Z","1.1.0":"2020-11-08T21:29:35.490Z","1.1.1":"2020-11-09T16:22:19.856Z","1.1.2":"2020-11-11T23:25:48.140Z","1.2.0":"2021-02-15T16:19:14.438Z","2.0.0":"2021-02-21T18:32:56.775Z","2.1.0":"2021-12-05T12:34:07.444Z"},"maintainers":[{"name":"exuanbo","email":"exuanbo@protonmail.com"}],"description":"Find a file or directory by walking up parent directories recursively. Zero dependency.","homepage":"https://github.com/exuanbo/look-it-up#readme","keywords":["look-up","find-up","path","file","directory","search","match","recursive"],"repository":{"type":"git","url":"git+https://github.com/exuanbo/look-it-up.git"},"author":{"name":"exuanbo"},"bugs":{"url":"https://github.com/exuanbo/look-it-up/issues"},"license":"MIT","readme":"# look-it-up\n\n> Find a file or directory by walking up parent directories recursively. Zero dependency.\n\n[![npm](https://img.shields.io/npm/v/look-it-up.svg)](https://www.npmjs.com/package/look-it-up)\n[![github workflow](https://img.shields.io/github/workflow/status/exuanbo/look-it-up/Node.js%20CI/main.svg)](https://github.com/exuanbo/look-it-up/actions/workflows/nodejs.yml)\n[![Codecov branch](https://img.shields.io/codecov/c/gh/exuanbo/look-it-up/main.svg?token=speJkwSMKd)](https://codecov.io/gh/exuanbo/look-it-up)\n[![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)\n\n## Install\n\n```sh\nnpm install look-it-up\n```\n\n### Usage\n\n```js\nimport { existsSync } from 'fs'\nimport { join } from 'path'\nimport { lookItUp, lookItUpSync, exists } from 'look-it-up'\n\nconst contains = async (file, dir) => (await exists(join(dir, file))) ? dir : null\nconst containsSync = (file, dir) => existsSync(join(dir, file) ? dir : null\n\n;(async () => {\n  await lookItUp('.zshrc') //=> '~/.zshrc'\n\n  await lookItUp(dir => containsSync('.zshrc', dir)) //=> '~'\n\n  await lookItUp(async dir => await contains('.zshrc', dir)) //=> '~'\n})()\n\nlookItUpSync('.zshrc') //=> '~/.zshrc'\n\nlookItUpSync(dir => containsSync('.zshrc', dir)) //=> '~'\n```\n\n## API\n\n```ts\ndeclare type MatcherResult = string | null | symbol\ndeclare type Matcher = string | ((dir: string) => MatcherResult | Promise<MatcherResult>)\ndeclare type MatcherSync = string | ((dir: string) => MatcherResult)\n\ndeclare const lookItUp: (matcher: Matcher, dir?: string) => Promise<string | null>\n\ndeclare const lookItUpSync: (matcher: MatcherSync, dir?: string) => string | null | never\n\ndeclare const exists: (path: string) => Promise<boolean>\ndeclare const stop: unique symbol\n\nexport { exists, lookItUp, lookItUpSync, stop }\n```\n\n## License\n\n[MIT License](https://github.com/exuanbo/look-it-up/blob/main/LICENSE) © 2021 [Exuanbo](https://github.com/exuanbo)\n","readmeFilename":"README.md"}