{"_id":"find-up-path","_rev":"3757977","name":"find-up-path","description":"Find the path of the first file matching a given name, walking the filesystem upwards.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"time":{"modified":"2025-03-18T07:12:44.000Z","created":"2024-03-04T01:47:13.364Z","1.0.1":"2025-01-12T18:41:06.058Z","1.0.0":"2024-03-04T01:47:13.364Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/find-up-path.git"},"versions":{"1.0.1":{"name":"find-up-path","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/find-up-path.git"},"description":"Find the path of the first file matching a given name, walking the filesystem upwards.","license":"MIT","version":"1.0.1","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["find","up","file","folder","path"],"devDependencies":{"@types/node":"^18.19.70","fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"find-up-path@1.0.1","gitHead":"6a300bb997e3dc64e7db852b8fe9aef95f840443","bugs":{"url":"https://github.com/fabiospampinato/find-up-path/issues"},"homepage":"https://github.com/fabiospampinato/find-up-path#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"1719e75eb05c870ba0aa88afe81fed7f3dacd3d6","size":1678,"noattachment":false,"key":"/find-up-path/-/find-up-path-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-up-path/download/find-up-path-1.0.1.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/find-up-path_1.0.1_1736707265887_0.5952360302192794"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-12T18:41:06.058Z","publish_time":1736707266058,"_source_registry_name":"default","_cnpm_publish_time":1736707266058},"1.0.0":{"name":"find-up-path","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/find-up-path.git"},"description":"Find the path of the first file matching a given name, walking the filesystem upwards.","version":"1.0.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["find","up","file","folder","path"],"devDependencies":{"@types/node":"^20.11.24","fava":"^0.3.2","tsex":"^3.2.0","typescript":"^5.3.3"},"_id":"find-up-path@1.0.0","gitHead":"6640fe3c7c91c5e92877f872ed5a23d78dec36ad","bugs":{"url":"https://github.com/fabiospampinato/find-up-path/issues"},"homepage":"https://github.com/fabiospampinato/find-up-path#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"e1e821394a420347341fca29d37c3bc38a6afb98","size":2183,"noattachment":false,"key":"/find-up-path/-/find-up-path-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-up-path/download/find-up-path-1.0.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-up-path_1.0.0_1709516833189_0.3046787915578173"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-04T01:47:13.364Z","publish_time":1709516833364,"_source_registry_name":"default","_cnpm_publish_time":1709516833364}},"readme":"# Find Up Path\n\nFind the path of the first file matching a given name, walking the filesystem upwards.\n\n## Install\n\n```sh\nnpm install find-up-path\n```\n\n## Usage\n\n```ts\nimport findUpPath from 'find-up-path';\n\n// Let's find the path of the nearest `package.json` file\n\nconst packagePath = findUpPath ( 'package.json' ); // => '/path/to/package.json' | undefined\n```\n\n## License\n\nMIT © Fabio Spampinato\n","_attachments":{},"homepage":"https://github.com/fabiospampinato/find-up-path#readme","bugs":{"url":"https://github.com/fabiospampinato/find-up-path/issues"},"license":"MIT"}