{"adoption": {"forks": 764, "observed_at": "2026-08-28T04:11:02.224301+00:00", "stars": 13121}, "canonical_url": "https://ross.abutalabs.com/products/nock", "card": {"archived": false, "artifact_type": "library", "description": "HTTP server mocking and expectations library for Node.js", "domain": ["testing", "developer-tools", "apis", "web-development"], "enriched": true, "function": ["mocking", "testing", "http-client"], "health_score": 98, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["nock/nock"], "name": "nock/nock", "platform": [], "pushed_at": "2026-08-05T01:00:55+00:00", "repo": "nock/nock", "stars": 13121, "tags": ["http-mocking", "unit-testing", "request-interception", "test-isolation", "nodejs", "javascript"], "topics": ["http", "mock", "nock", "node", "javascript"], "urls": [], "use_cases": ["mock HTTP requests in Node.js unit tests", "test a module that calls a third-party API in isolation", "simulate API error responses and delays in tests", "assert that expected HTTP requests were made", "test code that talks to CouchDB or AWS without hitting real services"], "what_it_is": "Nock is an HTTP server mocking and expectations library for Node.js. It intercepts HTTP requests made by code under test and returns predefined responses, enabling isolated testing of modules that perform HTTP requests.", "when_to_avoid": ["you are testing in a browser environment rather than Node.js", "you need to mock non-HTTP protocols like gRPC or WebSockets", "you want end-to-end tests against a real or containerized server"], "when_to_choose": ["you write Node.js tests for code that makes HTTP requests", "you need deterministic, offline tests without real network calls", "you want to assert request counts, headers, bodies, and query strings"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nock", "repo": "nock/nock", "role": "main", "score": 96}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:02.224301+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:13:30.970771+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dbcf63f42830b18c0b7c7e933af1691473d1d22a2f9caf774a83a1bcbc4458d8", "fetched_at": "2026-08-28T04:11:02.224301+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nock/nock"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:02.224301+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:13:30.970771+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dbcf63f42830b18c0b7c7e933af1691473d1d22a2f9caf774a83a1bcbc4458d8", "fetched_at": "2026-08-28T04:11:02.224301+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nock/nock"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:13:30.970771+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dbcf63f42830b18c0b7c7e933af1691473d1d22a2f9caf774a83a1bcbc4458d8", "fetched_at": "2026-08-28T04:11:02.224301+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nock/nock"}], "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:11:02.224301+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:02.224301+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:02.224301+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:13:30.970771+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dbcf63f42830b18c0b7c7e933af1691473d1d22a2f9caf774a83a1bcbc4458d8", "fetched_at": "2026-08-28T04:11:02.224301+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nock/nock"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:02.224301+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:02.224301+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:13:30.970771+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dbcf63f42830b18c0b7c7e933af1691473d1d22a2f9caf774a83a1bcbc4458d8", "fetched_at": "2026-08-28T04:11:02.224301+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nock/nock"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:02.224301+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:02.224301+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:02.224301+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:13:30.970771+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dbcf63f42830b18c0b7c7e933af1691473d1d22a2f9caf774a83a1bcbc4458d8", "fetched_at": "2026-08-28T04:11:02.224301+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nock/nock"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:02.224301+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:02.224301+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:13:30.970771+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dbcf63f42830b18c0b7c7e933af1691473d1d22a2f9caf774a83a1bcbc4458d8", "fetched_at": "2026-08-28T04:11:02.224301+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nock/nock"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:13:30.970771+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dbcf63f42830b18c0b7c7e933af1691473d1d22a2f9caf774a83a1bcbc4458d8", "fetched_at": "2026-08-28T04:11:02.224301+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nock/nock"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:13:30.970771+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dbcf63f42830b18c0b7c7e933af1691473d1d22a2f9caf774a83a1bcbc4458d8", "fetched_at": "2026-08-28T04:11:02.224301+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nock/nock"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:13:30.970771+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dbcf63f42830b18c0b7c7e933af1691473d1d22a2f9caf774a83a1bcbc4458d8", "fetched_at": "2026-08-28T04:11:02.224301+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nock/nock"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 95}, "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": 5459, "days_push": 29, "days_rel": 34, "gap_med": 14.0, "n_releases_24m": 19}, "score": 96, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}