{"_id":"@elricb/find-file-up","_rev":"6-22f3c787a308a25db0aeab38869cefbf","name":"@elricb/find-file-up","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"@elricb/find-file-up","version":"1.0.0","keywords":["directory","search","up"],"author":{"url":"github.com/elricb","name":"elricb"},"license":"MIT","_id":"@elricb/find-file-up@1.0.0","maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"homepage":"https://github.com/elricb/find-file-up#readme","bugs":{"url":"https://github.com/elricb/find-file-up/issues"},"dist":{"shasum":"17ae0071f44f2a894af2395a3e18b8b423293691","tarball":"https://registry.npmjs.org/@elricb/find-file-up/-/find-file-up-1.0.0.tgz","fileCount":8,"integrity":"sha512-lu32t7V+MHUbrgGQHmK/W7H88g7AZepA1sC0/M29lmTr9Zh/+N2Cox4U3anAjZnUESP2Op3+0cgosvL7sDE3+g==","signatures":[{"sig":"MEUCIQDJR7S/p1bhx9xdUdSiYberRfPqJRZWd5/PleVYAGVIVgIgdDt2jzKVkO2kgEHopmTMBAqcMLTRIBDWkVu7B51nAGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9Dc/CRA9TVsSAnZWagAAGKIP/ilECknzU3nndpSNQcA+\nsiapwxihKgN7tWkdw0Uae+G3dOIeXQBFmDN+ifI6sybYyBDVaVmhwalRNLhP\nwV4bxDIVE1wYzRftmaw9xQWna+rBBmriZ7CcGsDkfSWilUP80ZR1fvWzcg13\nO2gW8r/HHHbIMntk119/tWwOOYdgYpVlJtJTm25pxG7xcYHrFhsqBbvatb+b\n6ZOSCvawJDJ6rpt8CaD1ZxMnxFeeFj9k3V+YpZPfh4YcYGE0PH+kPCeww6Zc\n8qCiST9tSdODluiid/zX7BPqvQRUluKz/f2iL9BrdlufIs+QFqa2CXl2jOBb\nQBDAJGdnYbrd+mkeAODCgiV889xKaG6Qd4thp148bWMSWyO06EoMw01Jy34T\nAhqv2RFKq1JvTjM7kG0OyZVCze0f/zbl1IbVynF8D2+gx9TQHKvenDjqs6fQ\nNuLc2Vf+ESZyj16XSffHLWY1rpexet11D7xMvr85qUTnwXOKQWQDi8KSkMCJ\nBsrvgRfMBUvZuXgY1JHznqy5toG89BrdBGBjbb9vQJmKQyCUb4le3spqh2G/\n5RGl+5LxNFJUjhF21RoDjXvLzkpZrhyl/3pzoIKLdvMZW1PzT1o28Dlqxsgb\na55iEpXlIF6kutpoU/HydAr6W8qvpl61TuZwiXtonHh8ISRAOVwouEMhcqe4\n9ItB\r\n=m43Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/main.js","module":"dist/module.js","source":"src/index.js","engines":{"node":">= 12"},"gitHead":"b2c15a450d5b30f3654697be98189c25d9dfc9e5","scripts":{"build":"parcel build","watch":"parcel watch"},"_npmUser":{"name":"elricb","email":"elricb@elricbest.com"},"repository":{"url":"git+https://github.com/elricb/find-file-up.git","type":"git"},"_npmVersion":"8.1.2","description":"Steps up directories until file is found.","directories":{},"_nodeVersion":"16.13.2","_hasShrinkwrap":false,"devDependencies":{"parcel":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/find-file-up_1.0.0_1643394879370_0.44168932813279493","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@elricb/find-file-up","version":"1.0.1","keywords":["directory","search","up"],"author":{"url":"github.com/elricb","name":"elricb"},"license":"MIT","_id":"@elricb/find-file-up@1.0.1","maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"homepage":"https://github.com/elricb/find-file-up#readme","bugs":{"url":"https://github.com/elricb/find-file-up/issues"},"dist":{"shasum":"e9ce5ebb81868a4162be2c13a3cd0e32446aa011","tarball":"https://registry.npmjs.org/@elricb/find-file-up/-/find-file-up-1.0.1.tgz","fileCount":8,"integrity":"sha512-Xwo2nGwZFxWz8OrjV+j18u4gvnjS9BU9Y7Tw5dHW9gSeh79my3Gn2sMnduDWBp1gV43Na3YFdiZ9uYWztQgETg==","signatures":[{"sig":"MEYCIQCbD8pVWkV0hmnEPDYrle15dz1KSty6bLO46QmMbDhLSAIhAJjkC3FZVKetAFQqZzT4Wh0ISp3rl0gePkPZarQnrp36","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9KHrCRA9TVsSAnZWagAAk9gP/3N3uQJP3Q7oz6BmDtOU\n+P0P3UHUqlUMQAD9+2vbRHBloc2uy6t85Ha/BQZGLqDjPNU+NWzEFi935OmE\n/oHHE10OjUuHYEcL37R2XBsUtID79rc5eXPpLVofEHH5Mfy+Nvb0qDG/M+13\n5/ZOzqY37SIvUkYixfmKyRxMMYaokCkBQUhjgHOVgty2KT3ueWOB2NuNfivJ\nhmLNPZ8vgvRmLQvtLoOy7lDAoxWV2S+lBbmq4t6vFuNzP8OUTsq+wgoIWW0X\n13EVztU6jYVkuhPIUkcgvXBftZJAFgaqLZ1IJhUtbS8hdKpwfxx2Z6R2pfY3\nycKo2iYsINsbiCn7wAZMyqp9rd/9vehPQFa7gYQlNkQsTitJw1DevR/URRdl\nb1a5QOsCN1FBzkhLt2J6Ukn5ssmk9H2JckLHRAAXE/sCEYIB5SLeN3UwON4m\nzkfWBfYtR0hnLXQUCG6wFAVynM9K10qJmwSG75LQuBRekNk4NSbNKmIOJdB1\nVQyf3xFeMTzQgh8KZTewYyTiw83zZZxZcRwxAovE83OCYZt5P3/+NVh7hDs7\nwQ8jAkzmp0u8cki8EMMjZBc7Fz6rJECp0hDLvQFyxxHuJRnhEId4mblwJ90/\nHf+G/JS6zQoBCn7E2yuWP8Lm56luqpVtEQOMowmC/yrZxR32Pg0T0nnnuexd\nCkzq\r\n=Ex2Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/main.js","module":"dist/module.js","source":"src/index.js","engines":{"node":">= 12"},"gitHead":"5612447bcfaf4c2f991b9c947e332cfcba706cb9","scripts":{"build":"parcel build","watch":"parcel watch"},"_npmUser":{"name":"elricb","email":"elricb@elricbest.com"},"repository":{"url":"git+https://github.com/elricb/find-file-up.git","type":"git"},"_npmVersion":"8.1.2","description":"Steps up directories until file is found.","directories":{},"_nodeVersion":"16.13.2","_hasShrinkwrap":false,"devDependencies":{"parcel":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/find-file-up_1.0.1_1643422187247_0.5108734359655278","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@elricb/find-file-up","version":"2.0.0","keywords":["directory","search","up"],"author":{"url":"github.com/elricb","name":"elricb"},"license":"MIT","_id":"@elricb/find-file-up@2.0.0","maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"homepage":"https://github.com/elricb/find-file-up#readme","bugs":{"url":"https://github.com/elricb/find-file-up/issues"},"dist":{"shasum":"3c22353a71a055f1cef3225f31ca9922856c0a7d","tarball":"https://registry.npmjs.org/@elricb/find-file-up/-/find-file-up-2.0.0.tgz","fileCount":24,"integrity":"sha512-lsmpXrEjFYOpdHSfSofM0HZuJCIoFEi0NhlJ0PEdRAM0evRQuK4zpfkAu8/XT/WEz44q4Jwxb6RLQQk/ADdZGQ==","signatures":[{"sig":"MEQCIHoSKUUMrZ2ivmRg8i2y0ZaQzFw5wWyvIH8IwBn5z6QWAiA18I31Lk0W/VtAY5+gk2bg6hbXqrNzzQ0g8jU90A8C8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":111215,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLQ38ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGExAAlWNgaNdeYL/ZVx+9Uszs6Am9z3DWbBza+65E9HCCLkUanGPs\r\nmGY2O8fmA+Su73eiPFkuJ8Pgi92d1acCeEGGQRdj2hHnCr8PNb/8lL+h7R1L\r\ni6TdWSzKZbz7fv58JEFVt9Nuqwf68jwwLHKob1p0/7NQtSiMlBlTyleUgaA5\r\nDdre+ttuwAONxIYkqGsY9/Ue2c0ChbDmV5QtCqLNLBbwKCGjxy1cF9G7zRKu\r\npFObGe7FnlLJboI1S3easrIWGNRw1iJ+oNqgE3RvJm4a9LjFeS+GYllHDHHK\r\nYe1PNTQgJh1HD+RpGj+yWY/9nhKRotVueu3cVdgcyk0Fj3rVLsoAByDs9a3n\r\nEqSS3xus7wVxDtZ2U1CmXEo56rV1oqQzSUvwNEKgOFtHbNwl+yEIY9+fdG+d\r\nExgHd5z+shH9Rsv0uptpO746sY2jxIC7MEz/po4f4IM1C+0Wfvzyzf5abXEE\r\nvFjNPx0I+3qY40DmCGuMxEXONss+os1ERLSv7RQKbVeR4TFMthsq5KwecbTy\r\nz7/SHOxdkCn02h4DFTQe39u87JmmY+YS8EC0O0WnWzLQXtgSQyLvb6V0sMkW\r\nv5p1NwA1IQdZMHpo0YH7BL5WYij8B5I1uNh7Emd3tU1jm9Xfg4MrIzRBH/xd\r\n8x6AAMPG16rR7iAb/nLrevU8TlN+mFwYUyg=\r\n=7XX6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","source":"src/index.ts","engines":{"node":">= 12"},"gitHead":"fe24eabc183753a8e91e615ba3393ee1d5d2fe7f","scripts":{"docs":"npx typedoc --out ./docs ./src/index.ts","lint":"xo","build":"rm -rf ./lib && npm run build-esm && npm run build-cjs","release":"npm run lint && npm run docs && npm run build","build-cjs":"./node_modules/typescript/bin/tsc --project ./tsconfig.json --outDir ./lib/cjs --importHelpers","build-esm":"./node_modules/typescript/bin/tsc --project ./tsconfig-esm.json --outDir ./lib/esm --importHelpers"},"_npmUser":{"name":"elricb","email":"elricb@elricbest.com"},"repository":{"url":"git+https://github.com/elricb/find-file-up.git","type":"git"},"_npmVersion":"8.15.0","description":"Steps up directories until file is found.","directories":{},"_nodeVersion":"16.17.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.52.3","typedoc":"^0.23.15","typescript":"^4.7.4","@elricb/xo-config":"^0.1.0","@elricb/prettier-config":"^0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/find-file-up_2.0.0_1663897084528_0.86000020169657","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@elricb/find-file-up","version":"2.0.1","keywords":["directory","search","up"],"author":{"url":"https://github.com/elricb","name":"elricb"},"license":"MIT","_id":"@elricb/find-file-up@2.0.1","maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"homepage":"https://github.com/elricb/find-file-up#readme","bugs":{"url":"https://github.com/elricb/find-file-up/issues"},"dist":{"shasum":"87ff21117cd55638f516938ffc7b8f5ac6460925","tarball":"https://registry.npmjs.org/@elricb/find-file-up/-/find-file-up-2.0.1.tgz","fileCount":24,"integrity":"sha512-+pCCmXf58c79VxTmV7iok+sofbBr2Qb9NOtabDKO027TwBVABsBbnJ0RnNF56ai2+BmtArdpK03x/yHRXweI/Q==","signatures":[{"sig":"MEQCIF2Gn1ZadPN1B5XgDxqXc3znu7aytindmuFe+DZIotBSAiAJ5D+VzfUGAz7HtTwJ4hRHLRCaiyUrPOVuvi/6IoXiCw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":110698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLhs+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHMw/9EneX/Dt8xv5yXIpEH+RuOUki9RTXs841WU7ZYBVkRh8Hojuh\r\nID4HsaO8TcnjYx2EQwExlyV0jaRz6ThrGy4meq/O4s4xsuus7tRb7EohA3SK\r\n8NbmHBwVGV3u+16LfPVMgesA55tVVOij4Fl3HTjYG2eZDTAmjnM4E2sOsSmv\r\nnsMl0YMCvmAI/WkNtZGvgwMiLnXMXxNO6hZZuGTpeVZ09ljUDG7Cc9n9idLU\r\nrSRTu0D1mTR+odw4MBpVc1bOZNIP2EkpPtXveff/BDwuaskwb9d9IVxI3eAq\r\nWd1aWKl5hJNM6URdEykULV/ys1q9xTehIIZCl2bcCOl2NAKFCvgiOdi5D5GK\r\n/Atbspa5mrMO6CGjn+wCLS9StLn+ANLtADDWIyIvmRUxvFSLjJRbbWlhycnQ\r\nbaFhRYaPw6Dume9ZZPyOfyLONKJ4k4zuwSDh9Qo846XV5aU2keFE0/HkPDgh\r\nvZYKYBsNCVN3Acv1IgzMTzazbwn5ebhp4j48OkI17h4CbNDi+5mnMxF9kdiJ\r\nrjCARw3Y90HYpRYIJmXq92xdkM/78OZ6CYbzdRq6gmQhcTfcwtmV/COy9Kxc\r\nURNQIfz91d0iGvZ/EglM1VmIui1CmwSh+j6BKItxRdvsiPjlLp2g2y0x042e\r\n1nBJ99IJcEkyhl0EAPRzbnhsoioyxjqaAIM=\r\n=hEwt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","source":"src/index.ts","engines":{"node":">= 12"},"gitHead":"9f40f20b67c28e05eb7f50a476ef705fff050477","scripts":{"docs":"npx typedoc --out ./docs ./src/index.ts","lint":"xo","test":"exit 0","build":"rm -rf ./lib && npm run build-esm && npm run build-cjs","release":"npm run lint && npm test && npm run docs && npm run build","build-cjs":"./node_modules/typescript/bin/tsc --project ./tsconfig.json --outDir ./lib/cjs --importHelpers","build-esm":"./node_modules/typescript/bin/tsc --project ./tsconfig-esm.json --outDir ./lib/esm --importHelpers"},"_npmUser":{"name":"elricb","email":"elricb@elricbest.com"},"repository":{"url":"git+https://github.com/elricb/find-file-up.git","type":"git"},"_npmVersion":"8.15.0","description":"Steps up directories until file is found.","directories":{},"_nodeVersion":"16.17.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.52.3","typedoc":"^0.23.15","typescript":"^4.7.4","@elricb/xo-config":"^0.1.0","@elricb/prettier-config":"^0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/find-file-up_2.0.1_1663966014639_0.40590382503011035","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@elricb/find-file-up","version":"2.0.2","description":"Steps up directories until file is found.","license":"MIT","author":{"name":"elricb","url":"https://github.com/elricb"},"homepage":"https://github.com/elricb/find-file-up#readme","repository":{"type":"git","url":"git+https://github.com/elricb/find-file-up.git"},"bugs":{"url":"https://github.com/elricb/find-file-up/issues"},"source":"src/index.ts","main":"lib/cjs/index.js","module":"lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"scripts":{"lint":"exit 0","test":"exit 0","build-cjs":"./node_modules/typescript/bin/tsc --project ./tsconfig.cjs.json --outDir ./lib/cjs --importHelpers","build-esm":"./node_modules/typescript/bin/tsc --project ./tsconfig.esm.json --outDir ./lib/esm --importHelpers","build":"rm -rf ./lib && npm run build-esm && npm run build-cjs","postbuild":"cp 'package.cjs.json' 'lib/cjs/package.json' && cp 'package.esm.json' 'lib/esm/package.json'"},"keywords":["directory","search","up"],"engines":{"node":">= 12"},"devDependencies":{"@elricb/prettier-config":"^0.0.1","@tsconfig/node16":"^16.1.6","@types/node":"^24.10.1","typescript":"^4.7.4"},"gitHead":"83db3f572b5bad327ebb0086cfa48e6bb3cdf1d6","_id":"@elricb/find-file-up@2.0.2","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-UI8gx46qJA3tUBduYmWFxCrn1morsF71X9LSu1R5zvoJUe9/OA9BCYHX/nKtLS3jMcZS1XrAC17n/CJdw47qZw==","shasum":"a49e7d09967c61ee40532ebeb904a9c35fca0011","tarball":"https://registry.npmjs.org/@elricb/find-file-up/-/find-file-up-2.0.2.tgz","fileCount":9,"unpackedSize":3900,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEE1ADR03emhxD/6ON7WbrQV/SxdV2iGlOARBN0NY5KkAiEAxx8SqYE48F55lCehGrz9Nwsv4y8I+rBq81TmfYUbyP4="}]},"_npmUser":{"name":"elricb","email":"elricb@elricbest.com"},"directories":{},"maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/find-file-up_2.0.2_1781133514296_0.49370969086953287"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-28T18:34:39.321Z","modified":"2026-06-10T23:18:34.533Z","1.0.0":"2022-01-28T18:34:39.494Z","1.0.1":"2022-01-29T02:09:47.410Z","2.0.0":"2022-09-23T01:38:04.683Z","2.0.1":"2022-09-23T20:46:54.918Z","2.0.2":"2026-06-10T23:18:34.436Z"},"bugs":{"url":"https://github.com/elricb/find-file-up/issues"},"author":{"name":"elricb","url":"https://github.com/elricb"},"license":"MIT","homepage":"https://github.com/elricb/find-file-up#readme","keywords":["directory","search","up"],"repository":{"type":"git","url":"git+https://github.com/elricb/find-file-up.git"},"description":"Steps up directories until file is found.","maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"readme":"# @elricb/find-file-up\n\nSteps up one directory at a time searching for a file.  Stops at user home directory or top of path tree.\n\n## Requirements\n\n* [node](https://nodejs.org/en/download/) - recommended lts version >= 12\n\n## Install\n\n```\n$ npm install --save @elricb/find-file-up\n```\n\n## Usage\n\n```jsx\nimport process from \"process\";\nimport path from \"path\";\nimport findFileUp from \"@elricb/find-file-up\";\n\nconst configPath = findFileUp(__dirname, \".env\") || path.join(process.env.HOME, \".env\");\n\nconsole.log(configPath);\n```\n\n## Documentation\n\n### Release Notes\n\nView commit tag for release notes.\n\n* [release list](https://github.com/elricb/find-file-up/tags)\n\n","readmeFilename":"readme.md"}