{"name":"find-up-json","description":"Find, read and parse the first matching file found walking the filesystem upwards.","version":"1.0.0","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist","compile":"tsc --skipLibCheck && tstei","compile:watch":"tsc --skipLibCheck --watch","prepublishOnly":"npm run clean && npm run compile"},"bugs":{"url":"https://github.com/fabiospampinato/find-up-json/issues"},"license":"MIT","author":{"name":"Fabio Spampinato","email":"spampinabio@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/find-up-json.git"},"keywords":["find","up","json","read","parse"],"dependencies":{},"devDependencies":{"@types/node":"^12.7.2","rimraf":"^3.0.0","typescript":"^3.5.3","typescript-transform-export-interop":"^1.0.2"},"gitHead":"e62c4265faf185eb8bfe612d84d578fde2daed02","homepage":"https://github.com/fabiospampinato/find-up-json#readme","_id":"find-up-json@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.4.0","_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"dist":{"integrity":"sha512-fRAxPq/vwoAD4PQq2NRk7Or1a5nkKX0bLYwPeAmSTwjUguF46uRAacUoGt2XTUIyoQs8uDzHatcliGDKTp2Wvg==","shasum":"366734711d0102e9792ba55765f0aa5f3e07a061","tarball":"http://registry-npm.ywwl.com/find-up-json/download/find-up-json-1.0.0.tgz","fileCount":11,"unpackedSize":6050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgm9sKCRA9TVsSAnZWagAA4ZMQAJxrzZCz6ZqB8Set9OB1\nEGP3CViMvJyRcACOAgoYYCP3DVHypi6CCaOyNT5tg5pxGo5jXaULWN40ecaQ\nyIKeOhRqdlE8gWTwdD5DW2i6hgNskEePLP4kPm+doRaC4DcM+k8aRKEL2JkO\n0V9h5/D8YLjCYQcjjlfdiFYU6/M9O1wyGPsA2s508ifoA9VeH8W0MhKH1mdc\nqxgNXCKfRCZWwdeOwEj1rqSCZHuCLkDkOO9VutVqf5W0aqWUDo1zdyklPzMA\npo+aUVDhRyjRBHqbvbgv6UPplHH6lFp7o+Y5HzfV8ZPc4sB469rii4QLpgC3\nRdigsu34fd2w51jv2lqdF3xGkSaFrMrlzkkO9N2SpUfX+B2KIwux7ior2FJ6\nKAWDxYfk8zEcho/ojoHOtNVm96XczwMK5nDCmcH17Fyuc4pN9wk+ZiO/l1d8\ne57Mw+zO0uSLQlqL0+kVwM+DPwuiIk1bQsP3Z6qmJ/8oKDun344G7/pPShxu\nnknXkaLyOfpzjKbcp4nMwits/wPL46RvOdLpCC5SBpBCY4l1FJYuVdlOSUUe\nWWWI8CLPYo5rrrfMzvJ9zXEVsZWz7PB5iWhPNFg0+P2hur/6sVKBY0nYkHka\nK3Ekt7NXGOsRIMjF67VceHXCziuUWhdaZH78h5yFkzfwviYSV2guwNWk5BAc\nBI7G\r\n=af2f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+FmaUiPR7RkDxm/D3QaX2PNzrqaMIECvSGtCI31ED6AiA+z0jfQki+tLn2mlujfmBzTznlBwWzNGp+876+nM3CgQ=="}],"size":2952,"noattachment":false,"key":"/find-up-json/-/find-up-json-1.0.0.tgz"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-up-json_1.0.0_1620826889672_0.8263389155615433"},"_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":1620826889803,"_cnpm_publish_time":1620826889803,"dist-tags":{"latest":"2.0.5"}}