{"adoption": {"forks": 59, "observed_at": "2026-08-28T04:03:34.730116+00:00", "stars": 1097}, "canonical_url": "https://ross.abutalabs.com/products/mfncooper-mockery", "card": {"archived": true, "artifact_type": "library", "description": "Simplifying the use of mocks with Node.js", "domain": ["testing", "developer-tools", "backend"], "enriched": true, "function": ["mocking", "testing"], "health_score": 10, "homepage": null, "language": "JavaScript", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["mfncooper/mockery"], "name": "mfncooper/mockery", "platform": [], "pushed_at": "2023-08-16T20:23:55+00:00", "repo": "mfncooper/mockery", "stars": 1097, "tags": ["require-interception", "module-cache", "unit-testing", "test-doubles", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["inject mocks into require calls for unit tests", "replace node modules with test doubles", "stub dependencies in node.js unit tests", "isolate code under test from its dependencies", "control the require cache during testing"], "what_it_is": "A Node.js library that intercepts require() calls so mocks or substitutes can be injected in place of real modules during unit testing. It is not a mocking framework itself but a helper for hooking mocks from any framework into the module loading system.", "when_to_avoid": ["you are testing ES modules with import statements", "you want a full mocking framework with assertion helpers", "you need an actively developed solution with modern Node support"], "when_to_choose": ["you need to mock modules loaded via require in Node.js", "you want a framework-agnostic way to wire in test doubles", "you need fine control over the module cache in tests"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/mfncooper-mockery", "repo": "mfncooper/mockery", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.730116+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.211757+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd9f7ac7637adca8ccad5a54342cb33bf753885c7ebf03622a2a141309ef895", "fetched_at": "2026-08-28T04:03:34.730116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mfncooper/mockery"}, {"content_hash": "838a240eb19208c0efdebed1f8447ed81bd6a2a95ed478965b94f48ba9dfb661", "fetched_at": "2026-08-29T12:49:48.862074+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/mockery"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.730116+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.211757+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd9f7ac7637adca8ccad5a54342cb33bf753885c7ebf03622a2a141309ef895", "fetched_at": "2026-08-28T04:03:34.730116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mfncooper/mockery"}, {"content_hash": "838a240eb19208c0efdebed1f8447ed81bd6a2a95ed478965b94f48ba9dfb661", "fetched_at": "2026-08-29T12:49:48.862074+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/mockery"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.211757+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd9f7ac7637adca8ccad5a54342cb33bf753885c7ebf03622a2a141309ef895", "fetched_at": "2026-08-28T04:03:34.730116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mfncooper/mockery"}, {"content_hash": "838a240eb19208c0efdebed1f8447ed81bd6a2a95ed478965b94f48ba9dfb661", "fetched_at": "2026-08-29T12:49:48.862074+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/mockery"}], "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:03:34.730116+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.730116+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.730116+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.211757+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd9f7ac7637adca8ccad5a54342cb33bf753885c7ebf03622a2a141309ef895", "fetched_at": "2026-08-28T04:03:34.730116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mfncooper/mockery"}, {"content_hash": "838a240eb19208c0efdebed1f8447ed81bd6a2a95ed478965b94f48ba9dfb661", "fetched_at": "2026-08-29T12:49:48.862074+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/mockery"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.730116+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.730116+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.211757+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd9f7ac7637adca8ccad5a54342cb33bf753885c7ebf03622a2a141309ef895", "fetched_at": "2026-08-28T04:03:34.730116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mfncooper/mockery"}, {"content_hash": "838a240eb19208c0efdebed1f8447ed81bd6a2a95ed478965b94f48ba9dfb661", "fetched_at": "2026-08-29T12:49:48.862074+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/mockery"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.730116+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.730116+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.730116+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.211757+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd9f7ac7637adca8ccad5a54342cb33bf753885c7ebf03622a2a141309ef895", "fetched_at": "2026-08-28T04:03:34.730116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mfncooper/mockery"}, {"content_hash": "838a240eb19208c0efdebed1f8447ed81bd6a2a95ed478965b94f48ba9dfb661", "fetched_at": "2026-08-29T12:49:48.862074+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/mockery"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.730116+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.730116+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.211757+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd9f7ac7637adca8ccad5a54342cb33bf753885c7ebf03622a2a141309ef895", "fetched_at": "2026-08-28T04:03:34.730116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mfncooper/mockery"}, {"content_hash": "838a240eb19208c0efdebed1f8447ed81bd6a2a95ed478965b94f48ba9dfb661", "fetched_at": "2026-08-29T12:49:48.862074+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/mockery"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.211757+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd9f7ac7637adca8ccad5a54342cb33bf753885c7ebf03622a2a141309ef895", "fetched_at": "2026-08-28T04:03:34.730116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mfncooper/mockery"}, {"content_hash": "838a240eb19208c0efdebed1f8447ed81bd6a2a95ed478965b94f48ba9dfb661", "fetched_at": "2026-08-29T12:49:48.862074+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/mockery"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.211757+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd9f7ac7637adca8ccad5a54342cb33bf753885c7ebf03622a2a141309ef895", "fetched_at": "2026-08-28T04:03:34.730116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mfncooper/mockery"}, {"content_hash": "838a240eb19208c0efdebed1f8447ed81bd6a2a95ed478965b94f48ba9dfb661", "fetched_at": "2026-08-29T12:49:48.862074+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/mockery"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.211757+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd9f7ac7637adca8ccad5a54342cb33bf753885c7ebf03622a2a141309ef895", "fetched_at": "2026-08-28T04:03:34.730116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mfncooper/mockery"}, {"content_hash": "838a240eb19208c0efdebed1f8447ed81bd6a2a95ed478965b94f48ba9dfb661", "fetched_at": "2026-08-29T12:49:48.862074+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/mockery"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "archived", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5440, "days_push": 1113, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}