{"name":"find-up-json","description":"Find, read and parse the first matching file found walking the filesystem upwards.","version":"1.0.1","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":"e88dc4b312c1131396c6de400872ebf3b8db85e6","homepage":"https://github.com/fabiospampinato/find-up-json#readme","_id":"find-up-json@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.4.0","_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"dist":{"integrity":"sha512-Y6jxjLo9fhJvVcjsJ0wwg/uKNwCYECByGzvyOuk4/F2Br4SoDZZ3cRCg7hKzptfJU0fEdz1lyGnYBSoMWywQFQ==","shasum":"777701e352b23dafc176e1a7bbdc2a18e838d676","tarball":"http://registry-npm.ywwl.com/find-up-json/download/find-up-json-1.0.1.tgz","fileCount":11,"unpackedSize":6000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7CFoCRA9TVsSAnZWagAAt9EQAJGOn88x6FqBTjdbUW6c\n2tjQjaQCNJxfIITLmZbZeExU6XWfObFaa7dmcTGtGyssGeHS30QN8vNH2vGp\ngsGCQXrpFTdqq1/rVs0UdyoBl+8J0E2B5LThak8zcWitsMT3dr4SXSsoMLTr\n7hGEc1Vi6AwQ2jz41p1JKCKLOwKO67Y+TddgJ3369XXw7sefcl/4oMp4EflP\nBgAfFKxF/uzh+tCC07zlTAEdYbicq9UmpPy6dQrzSAMw8Jta7tJdSpdgHlKk\njogoA5Cz+aQhzy78LNdZuV4o4zSDEnMvDQqsdwEk7c8OhPNkYAK1cfnKl9KZ\n6wHeirWHqWnuO0lD+5brz7JZieL6C0ARCcrpHywqh9ycA7/DygFUKJ8eECDy\nTf2nRqUjj7UuTyIQ5YRhXGEvDJVf4tyCunngnAz6J6F44F7gfwYFZsll09of\nO+DunnFrm6f+OLBzIERV0T/Z0d1KgxA1J7OcyPDQAjB7oEkEbnrYfp1f78Er\nLRaJBBOI0RUb+XERoaQKmUFbHy+RQau2/CcOjayalD+rWJNLAv9BHxN+PVkA\ngFgr0uMNOVnI7ZgQ6tH/UQ/POkOGHs+XvJ72+3NHjXffArfUCeEiIMqqBjwn\nFaJGa/WQder08Ln47cgAqWh0h1RsUWSkPNWPyMEOhVdKxZBCO3Q377WrO4+u\nw09J\r\n=McAg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHrGEkZIQs6bKzvc4Xnhcp7f6YpHhAGh4RMZ+kQFR32bAiB54hy+xg497iJbRDa5Tzj+qkXwwN3EJX0Bb9fkKY4v0g=="}],"size":2938,"noattachment":false,"key":"/find-up-json/-/find-up-json-1.0.1.tgz"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-up-json_1.0.1_1626087783765_0.6231959728178096"},"_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":1626087783868,"_cnpm_publish_time":1626087783868,"dist-tags":{"latest":"2.0.5"}}