{"adoption": {"forks": 191, "observed_at": "2026-08-28T04:04:19.478390+00:00", "stars": 1309}, "canonical_url": "https://ross.abutalabs.com/products/fetch-mock", "card": {"archived": false, "artifact_type": "library", "description": "Mock http requests made using fetch", "domain": ["testing", "web-development", "developer-tools"], "enriched": true, "function": ["mocking", "http-client", "testing"], "health_score": 94, "homepage": "http://www.wheresrhys.co.uk/fetch-mock/", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["wheresrhys/fetch-mock"], "name": "wheresrhys/fetch-mock", "platform": ["browser", "cross-platform"], "pushed_at": "2026-08-18T15:26:22+00:00", "repo": "wheresrhys/fetch-mock", "stars": 1309, "tags": ["fetch-api", "http-mocking", "test-utilities", "service-workers", "monorepo", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["mock fetch requests in unit tests", "simulate different HTTP responses based on URL or criteria", "test code that calls the fetch API in node", "intercept fetch calls in service workers", "stub network responses for frontend testing"], "what_it_is": "fetch-mock is a JavaScript library for mocking HTTP requests made with the fetch API, with an intuitive API for routing mocks based on request criteria. It runs in environments from Node.js to service workers and is compatible with most testing frameworks.", "when_to_avoid": ["your code uses axios or another XHR-based client rather than fetch", "you need full end-to-end tests against a real server", "you want automatic request recording/replay rather than hand-written mocks"], "when_to_choose": ["your code uses the fetch API and you need deterministic tests", "you need fine-grained routing of mocked responses by URL, method, or other criteria", "you need a mock that works across node, browsers, and service workers"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/fetch-mock", "repo": "wheresrhys/fetch-mock", "role": "main", "score": 83}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:50:02.170959+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92ddbe6585fc620565e3a25130b56f76331cfef9570bd04d7ce3a936ed8a0e35", "fetched_at": "2026-08-28T04:04:19.478390+00:00", "kind": "readme", "missing": false, "url": "https://github.com/wheresrhys/fetch-mock"}, {"content_hash": "9a5f16916faeea71ee0b30f07e144c89d2cad0b8f28200933a6b42892a0267ce", "fetched_at": "2026-08-29T12:08:32.099115+00:00", "kind": "homepage", "missing": false, "url": "http://www.wheresrhys.co.uk/fetch-mock/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:50:02.170959+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92ddbe6585fc620565e3a25130b56f76331cfef9570bd04d7ce3a936ed8a0e35", "fetched_at": "2026-08-28T04:04:19.478390+00:00", "kind": "readme", "missing": false, "url": "https://github.com/wheresrhys/fetch-mock"}, {"content_hash": "9a5f16916faeea71ee0b30f07e144c89d2cad0b8f28200933a6b42892a0267ce", "fetched_at": "2026-08-29T12:08:32.099115+00:00", "kind": "homepage", "missing": false, "url": "http://www.wheresrhys.co.uk/fetch-mock/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:50:02.170959+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92ddbe6585fc620565e3a25130b56f76331cfef9570bd04d7ce3a936ed8a0e35", "fetched_at": "2026-08-28T04:04:19.478390+00:00", "kind": "readme", "missing": false, "url": "https://github.com/wheresrhys/fetch-mock"}, {"content_hash": "9a5f16916faeea71ee0b30f07e144c89d2cad0b8f28200933a6b42892a0267ce", "fetched_at": "2026-08-29T12:08:32.099115+00:00", "kind": "homepage", "missing": false, "url": "http://www.wheresrhys.co.uk/fetch-mock/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:50:02.170959+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92ddbe6585fc620565e3a25130b56f76331cfef9570bd04d7ce3a936ed8a0e35", "fetched_at": "2026-08-28T04:04:19.478390+00:00", "kind": "readme", "missing": false, "url": "https://github.com/wheresrhys/fetch-mock"}, {"content_hash": "9a5f16916faeea71ee0b30f07e144c89d2cad0b8f28200933a6b42892a0267ce", "fetched_at": "2026-08-29T12:08:32.099115+00:00", "kind": "homepage", "missing": false, "url": "http://www.wheresrhys.co.uk/fetch-mock/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:50:02.170959+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92ddbe6585fc620565e3a25130b56f76331cfef9570bd04d7ce3a936ed8a0e35", "fetched_at": "2026-08-28T04:04:19.478390+00:00", "kind": "readme", "missing": false, "url": "https://github.com/wheresrhys/fetch-mock"}, {"content_hash": "9a5f16916faeea71ee0b30f07e144c89d2cad0b8f28200933a6b42892a0267ce", "fetched_at": "2026-08-29T12:08:32.099115+00:00", "kind": "homepage", "missing": false, "url": "http://www.wheresrhys.co.uk/fetch-mock/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:50:02.170959+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92ddbe6585fc620565e3a25130b56f76331cfef9570bd04d7ce3a936ed8a0e35", "fetched_at": "2026-08-28T04:04:19.478390+00:00", "kind": "readme", "missing": false, "url": "https://github.com/wheresrhys/fetch-mock"}, {"content_hash": "9a5f16916faeea71ee0b30f07e144c89d2cad0b8f28200933a6b42892a0267ce", "fetched_at": "2026-08-29T12:08:32.099115+00:00", "kind": "homepage", "missing": false, "url": "http://www.wheresrhys.co.uk/fetch-mock/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.478390+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:50:02.170959+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92ddbe6585fc620565e3a25130b56f76331cfef9570bd04d7ce3a936ed8a0e35", "fetched_at": "2026-08-28T04:04:19.478390+00:00", "kind": "readme", "missing": false, "url": "https://github.com/wheresrhys/fetch-mock"}, {"content_hash": "9a5f16916faeea71ee0b30f07e144c89d2cad0b8f28200933a6b42892a0267ce", "fetched_at": "2026-08-29T12:08:32.099115+00:00", "kind": "homepage", "missing": false, "url": "http://www.wheresrhys.co.uk/fetch-mock/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:50:02.170959+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92ddbe6585fc620565e3a25130b56f76331cfef9570bd04d7ce3a936ed8a0e35", "fetched_at": "2026-08-28T04:04:19.478390+00:00", "kind": "readme", "missing": false, "url": "https://github.com/wheresrhys/fetch-mock"}, {"content_hash": "9a5f16916faeea71ee0b30f07e144c89d2cad0b8f28200933a6b42892a0267ce", "fetched_at": "2026-08-29T12:08:32.099115+00:00", "kind": "homepage", "missing": false, "url": "http://www.wheresrhys.co.uk/fetch-mock/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:50:02.170959+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92ddbe6585fc620565e3a25130b56f76331cfef9570bd04d7ce3a936ed8a0e35", "fetched_at": "2026-08-28T04:04:19.478390+00:00", "kind": "readme", "missing": false, "url": "https://github.com/wheresrhys/fetch-mock"}, {"content_hash": "9a5f16916faeea71ee0b30f07e144c89d2cad0b8f28200933a6b42892a0267ce", "fetched_at": "2026-08-29T12:08:32.099115+00:00", "kind": "homepage", "missing": false, "url": "http://www.wheresrhys.co.uk/fetch-mock/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:50:02.170959+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92ddbe6585fc620565e3a25130b56f76331cfef9570bd04d7ce3a936ed8a0e35", "fetched_at": "2026-08-28T04:04:19.478390+00:00", "kind": "readme", "missing": false, "url": "https://github.com/wheresrhys/fetch-mock"}, {"content_hash": "9a5f16916faeea71ee0b30f07e144c89d2cad0b8f28200933a6b42892a0267ce", "fetched_at": "2026-08-29T12:08:32.099115+00:00", "kind": "homepage", "missing": false, "url": "http://www.wheresrhys.co.uk/fetch-mock/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 54}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4143, "days_push": 15, "days_rel": 307, "gap_med": 6.0, "n_releases_24m": 19}, "score": 83, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}