{"id":22221893,"url":"https://github.com/fabiospampinato/find-up-json","last_synced_at":"2025-07-27T16:31:37.318Z","repository":{"id":57236363,"uuid":"366729045","full_name":"fabiospampinato/find-up-json","owner":"fabiospampinato","description":"Find, read and parse the first matching file found walking the filesystem upwards.","archived":false,"fork":false,"pushed_at":"2024-03-12T01:54:17.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-31T20:09:07.012Z","etag":null,"topics":["find","json","parse","read","up"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabiospampinato.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"fabiospampinato","custom":"https://www.paypal.me/fabiospampinato"}},"created_at":"2021-05-12T13:41:02.000Z","updated_at":"2023-12-11T16:11:06.000Z","dependencies_parsed_at":"2024-06-19T17:35:42.934Z","dependency_job_id":"a9ba8bcd-3b8e-4c15-afdd-12dfc549eebb","html_url":"https://github.com/fabiospampinato/find-up-json","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Ffind-up-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Ffind-up-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Ffind-up-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Ffind-up-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiospampinato","download_url":"https://codeload.github.com/fabiospampinato/find-up-json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227542610,"owners_count":17785194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["find","json","parse","read","up"],"created_at":"2024-12-02T23:16:02.910Z","updated_at":"2025-07-27T16:31:37.313Z","avatar_url":"https://github.com/fabiospampinato.png","language":"TypeScript","funding_links":["https://github.com/sponsors/fabiospampinato","https://www.paypal.me/fabiospampinato"],"categories":[],"sub_categories":[],"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 find-up-json\n```\n\n## Usage\n\n```ts\nimport findUp from 'find-up-json';\n\n// Let's find the nearest `package.json` file\n\nconst pkg = findUp ( 'package.json' );\n\n// =\u003e\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Ffind-up-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiospampinato%2Ffind-up-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Ffind-up-json/lists"}