{"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.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":"npm run clean && npm run compile && npm run test"},"keywords":["find","up","json","read","parse"],"devDependencies":{"@types/node":"^17.0.23","fava":"^0.0.6","tiny-dirname":"^1.0.0","tsex":"^1.1.0","typescript":"^4.6.3"},"gitHead":"6fde73adc9a549c5182816341eb283eec44e04c1","bugs":{"url":"https://github.com/fabiospampinato/find-up-json/issues"},"homepage":"https://github.com/fabiospampinato/find-up-json#readme","_id":"find-up-json@2.0.1","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-WS5q4KyPRNfGkvUgOGez2BeC5un6dItYlnpLGqm+P6ADBrQSytrSE7aKb5kGLsYsQO4T1k0nTzQ+3TZ8GFUBCw==","shasum":"15446f3f9be429ffbe17cb50f3b3769fc67390fb","tarball":"http://registry-npm.ywwl.com/find-up-json/download/find-up-json-2.0.1.tgz","fileCount":13,"unpackedSize":6100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChFhQxQjT0BVA4GTKDCH7HsZ0GqVwuTe1hiYK75a641gIgbvDs9glKuRxdbBJuzV1ZxBwLQvr+P/UPsia4+abQw58="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwXAmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEBhAAhlPrrn324gEvCibeolBWw3NkIwaRt4m3R1sVNWWCOqJpB6hT\r\nYzd6YjF+9vUq9l/FmUH7HCVmk86zczuECXR+khO78uqVRj8zrGYA4Lbq6PSh\r\nQ5Fg3RE/Qq5GE5nRqKDnKEQPX+Be7ru08n5ciko0fBM1Il/QKTucsedWrkaP\r\n5o5BavBSumNxUP6pX8SlJ05+8od/zteD+11gp1zO2Md8IG+Ao2f1GiplAMhZ\r\nk5xkCbe1MRLyt2hrBz4JPIR0bBRkxY3G6vX7eHzOk/ZTZQ26xUrNnPt1lpaE\r\n+zslHhHEx4l/3eQeoGaI6su3tr1FS6wrSdAFBA3vhvpzGOGCybmXr5+rluEb\r\nv7tMZVWFAFPj53lOKoCo0OLy0LLB3I0aPXHT2Q5rcnT8PaWMcbpdD1ewIP2q\r\n8PbWnYjfCjoACRzLyKntZ7uv5193SpUyKmc1wX45rCyBWipd2TIdJ7uJkAuk\r\nlguGoNsqM4m6w+LRZMAvepg+9mRuRuA+7ZNRVHSFVEVKJbiJb5IQEllGLeEX\r\n+WqLTTPJDbxj9sS6+eclEY20tQ2frNuFmJGcddSmNK7MOD6rcejLv0bbJBoG\r\nuh/iWy7IdBfyQFMqvv06k6ve9TBFnAp2pMjMAF3iyJNwyqzsIw3rfV7kR1pn\r\naiR+dqcYTmf0GCxIVGpq1wJY5zxnTOXdfXo=\r\n=hj0p\r\n-----END PGP SIGNATURE-----\r\n","size":2831,"noattachment":false,"key":"/find-up-json/-/find-up-json-2.0.1.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.1_1673621542345_0.8813267268734044"},"_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":1673621542501,"_cnpm_publish_time":1673621542501,"dist-tags":{"latest":"2.0.5"}}