{"name":"find-up-json","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/find-up-json.git"},"description":"Find, read and parse the first matching file found walking the filesystem upwards.","version":"2.0.4","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","json","read","parse"],"dependencies":{"find-up-path":"^1.0.0"},"devDependencies":{"@types/node":"^20.11.24","fava":"^0.2.1","tsex":"^3.2.0","typescript":"^5.3.3"},"_id":"find-up-json@2.0.4","gitHead":"ff0b996dbaea391432b68e0936526835b45267da","bugs":{"url":"https://github.com/fabiospampinato/find-up-json/issues"},"homepage":"https://github.com/fabiospampinato/find-up-json#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-ABaCm3V1H5UYRHtClHvFFyxPIAC/bxd43tKwmcSco8/EuM5O7zDL2R7ORaA+rEltwgxoNOIK8LQFwQUfA/2GIw==","shasum":"b35fb65270c6dca447dcb48e74e7ab875389eeff","tarball":"http://registry-npm.ywwl.com/find-up-json/download/find-up-json-2.0.4.tgz","fileCount":16,"unpackedSize":6120,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQRGJYz6cASwUsUaWBV/2i7gjqmiQ1k08srVoK61NH9AiEA04gWhzeBWWSOZ6xxzoM7W7JB6UsCpJFZuyvaWuaqt34="}],"size":2858,"noattachment":false,"key":"/find-up-json/-/find-up-json-2.0.4.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-json_2.0.4_1710208452905_0.9635784979587794"},"_hasShrinkwrap":false,"readme":"# Find Up JSON\n\nFind, read and parse the first matching file found walking the filesystem upwards.\n\nCompared to alternatives this library is *tiny*, it has no dependencies, and it can be bundled without problems.\n\n## Install\n\n```sh\nnpm install --save find-up-json\n```\n\n## Usage\n\n```ts\nimport findUp from 'find-up-json';\n\nconst pkg = findUp ( 'package.json' );\n\n// =>\n// {\n//   path: '/path/to/found/package.json',\n//   buffer: BufferContentOfFile,\n//   content: {\n//     // Result of JSON-parsing the content of the file\n//     \"name\": \"something...\"\n//     // ...\n//   }\n// }\n```\n\n## License\n\nMIT © Fabio Spampinato\n","publish_time":1710208453101,"_cnpm_publish_time":1710208453101,"dist-tags":{"latest":"2.0.5"}}