{"id":28765964,"url":"https://github.com/rr0/case","last_synced_at":"2026-03-15T01:09:51.622Z","repository":{"id":296524207,"uuid":"993658565","full_name":"RR0/case","owner":"RR0","description":"RR0 Case API","archived":false,"fork":false,"pushed_at":"2025-06-14T10:20:11.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-08T21:57:18.176Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RR0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-05-31T08:29:03.000Z","updated_at":"2025-06-14T10:20:14.000Z","dependencies_parsed_at":"2025-05-31T21:30:05.133Z","dependency_job_id":"b4384621-693a-43d6-b9ec-6f62ed4eeddf","html_url":"https://github.com/RR0/case","commit_stats":null,"previous_names":["rr0/case"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RR0/case","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RR0%2Fcase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RR0%2Fcase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RR0%2Fcase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RR0%2Fcase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RR0","download_url":"https://codeload.github.com/RR0/case/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RR0%2Fcase/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269663320,"owners_count":24455796,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-06-17T11:39:49.775Z","updated_at":"2026-03-15T01:09:46.570Z","avatar_url":"https://github.com/RR0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RR0 Case API\n\nThis API allows to fetch case records from a RR0 server.\n\n## Setup\n\n```shell\nnpm install\n```\n\n## Usage\n\n```js\nimport { RR0Catalog } from \"@rr0/case\"\n\nconst catalog = new RR0Catalog()\nawait catalog.init()\n\n/** @type RR0Case */\nconst roswellCase = catalog.casesFiles.find(url =\u003e url.includes(\"/Roswell/\"))\nconst firstCase = await catalog.fetchCase(roswellCase)\nassert.equal(firstCase.title, \"Roswell\")\n\nconst mantellPeople = catalog.peopleFiles.find(url =\u003e url.includes(\"/MantellThomas/\"))\nconst firstPeople = await catalog.fetchPeople(mantellPeople)\nassert.equal(firstPeople.title, \"Mantell, Thomas Francis\")\n```\n\n## Build\n\n```shell\nnpm run build\n```\n\n## Test\n\n```shell\nnpm run test\n```\n\n## Deployment\n\nIncrease the version number in [`package.json`](package.json), then:\n\n```shell\nnpm publish\n```\n\nwill build \u0026 test then publish a new version of the package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frr0%2Fcase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frr0%2Fcase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frr0%2Fcase/lists"}