{"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.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":"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":"11c7adcd8cfa660b09a638dd7ce5686ebe13a5c5","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.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-6uCwLVAPd6FspHbxuzw5MRruFmbunZUW8f02DKhh9VCfpvcrSzCJrQBZ7E+/85pje9oTIL9AFc85tIMVQLAKhA==","shasum":"52bf2395e577a6704adcea7fde001bf213c119ba","tarball":"http://registry-npm.ywwl.com/find-up-json/download/find-up-json-2.0.0.tgz","fileCount":12,"unpackedSize":5451,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG8CAWEx7nMNFOZX+q9wwItC7Khzl2Wl6OU6Q6aa9vy+AiAUpXkkWvkngk+slSpih/UO+Nh/6AKLu5Im9IrINjn7/Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiT3HoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQYw/7BNkSZODqdDRRo/sw6MsJQQvm1EV04RfxjKkXeJ8BLY+FfNrB\r\n2SgwZMp806L2xN4SDEqb7JGBNPGmMgov6Y6zAlN/lIarNkEU2vHm9+qMdoWA\r\nzeo9bKxjl66SII3dCyGQMHd4dxklY99thi6ggvO4vsviL0XCr+Ew/ogd3vY3\r\ng+R431RbEXwfCwegWwpyrk4S5qwc+M3LZhtxF21n7Sy2WdbkDbpQhRmzh3jN\r\nXUHZ4626CedkXHoA6cvr+uybJrcz0L0R+LZCeBm9yfmtMtNxTmnKvuHaGlND\r\nB3q3K13kOWGt1EzwZhTc7B352JqPfmDmaLNXjuq5sa5DjvF8/mDmDSyWnnTK\r\nWnyX3aDDh9+IEUBikOJRTgo7JZlmi4dlih1aRisNqFzmGaeNEF/1I4ATZHUv\r\nj2rod1xdqR2p2F5EZBXj1G6o5GzfFjGYjKyhGdsTtXCnKKo7p5x7SLp57ckO\r\nOpmGU5KldbTKe0mnaNFe2W7wer/hboDuCzGDPCetZ9B2O2QgLEx9Un0qqei8\r\n/LxXNtr1QSZigxGu8FEnMhubUHvSdGnkVwPTuTETBQvD9zqVsVcUb2aDzouF\r\nm0uigfnKXymL4cZJrR6POviGVVQ97WwOthE/fjsjJAPjQV9s3ahcEyLyCzoy\r\nw52RcW0pmUhRXeLT5ipUCP8sYJG7MBZv4Ww=\r\n=O/xN\r\n-----END PGP SIGNATURE-----\r\n","size":2610,"noattachment":false,"key":"/find-up-json/-/find-up-json-2.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-json_2.0.0_1649373672549_0.34776820155549726"},"_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":1649373672722,"_cnpm_publish_time":1649373672722,"dist-tags":{"latest":"2.0.5"}}