{"adoption": {"forks": 102, "observed_at": "2026-08-28T04:07:16.683965+00:00", "stars": 2745}, "canonical_url": "https://ross.abutalabs.com/products/proxyquire", "card": {"archived": false, "artifact_type": "library", "description": "🔮 Proxies nodejs require in order to allow overriding dependencies during testing.", "domain": ["testing", "developer-tools", "backend"], "enriched": true, "function": ["mocking", "testing"], "health_score": 42, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["thlorenz/proxyquire"], "name": "thlorenz/proxyquire", "platform": [], "pushed_at": "2025-08-13T00:46:53+00:00", "repo": "thlorenz/proxyquire", "stars": 2745, "tags": ["dependency-injection", "stubbing", "require-proxy", "unit-testing", "mock-framework-agnostic", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["stub node modules in unit tests", "override dependencies without changing production code", "mock require calls in javascript tests", "inject test doubles into nodejs modules", "partially mock a module while keeping other methods real", "prevent call-thru to original dependencies during tests"], "what_it_is": "A Node.js library that proxies the require function so dependencies can be overridden with stubs or mocks during testing without modifying the code under test. It is mocking-framework agnostic and lets non-overridden methods behave like the original.", "when_to_avoid": ["you write ES modules with import statements instead of CommonJS require", "you use a bundler-based test setup (browser/client code) rather than Node.js", "you prefer modern test runners with built-in module mocking"], "when_to_choose": ["you test CommonJS Node.js code that uses require and want unobtrusive dependency stubbing", "you want to use your existing mocking/stubbing library with require overrides", "you need to stub only some methods of a dependency and leave the rest intact"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/proxyquire", "repo": "thlorenz/proxyquire", "role": "main", "score": 39}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:16.683965+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T08:19:04.945237+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3589e5d9d3e46ac4d1dde497cc6f61357e4335d61e580ceed4f657225cac6570", "fetched_at": "2026-08-28T04:07:16.683965+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/proxyquire"}, {"content_hash": "d7f25669a1e7c9088ae2890d11b4cdbd333b25d8cf3e0b1b54c58b18489b4b0b", "fetched_at": "2026-08-29T09:57:23.635115+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/proxyquire"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:16.683965+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T08:19:04.945237+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3589e5d9d3e46ac4d1dde497cc6f61357e4335d61e580ceed4f657225cac6570", "fetched_at": "2026-08-28T04:07:16.683965+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/proxyquire"}, {"content_hash": "d7f25669a1e7c9088ae2890d11b4cdbd333b25d8cf3e0b1b54c58b18489b4b0b", "fetched_at": "2026-08-29T09:57:23.635115+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/proxyquire"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T08:19:04.945237+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3589e5d9d3e46ac4d1dde497cc6f61357e4335d61e580ceed4f657225cac6570", "fetched_at": "2026-08-28T04:07:16.683965+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/proxyquire"}, {"content_hash": "d7f25669a1e7c9088ae2890d11b4cdbd333b25d8cf3e0b1b54c58b18489b4b0b", "fetched_at": "2026-08-29T09:57:23.635115+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/proxyquire"}], "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:07:16.683965+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:16.683965+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:16.683965+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T08:19:04.945237+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3589e5d9d3e46ac4d1dde497cc6f61357e4335d61e580ceed4f657225cac6570", "fetched_at": "2026-08-28T04:07:16.683965+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/proxyquire"}, {"content_hash": "d7f25669a1e7c9088ae2890d11b4cdbd333b25d8cf3e0b1b54c58b18489b4b0b", "fetched_at": "2026-08-29T09:57:23.635115+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/proxyquire"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:16.683965+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:16.683965+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T08:19:04.945237+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3589e5d9d3e46ac4d1dde497cc6f61357e4335d61e580ceed4f657225cac6570", "fetched_at": "2026-08-28T04:07:16.683965+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/proxyquire"}, {"content_hash": "d7f25669a1e7c9088ae2890d11b4cdbd333b25d8cf3e0b1b54c58b18489b4b0b", "fetched_at": "2026-08-29T09:57:23.635115+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/proxyquire"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:16.683965+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:16.683965+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:16.683965+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T08:19:04.945237+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3589e5d9d3e46ac4d1dde497cc6f61357e4335d61e580ceed4f657225cac6570", "fetched_at": "2026-08-28T04:07:16.683965+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/proxyquire"}, {"content_hash": "d7f25669a1e7c9088ae2890d11b4cdbd333b25d8cf3e0b1b54c58b18489b4b0b", "fetched_at": "2026-08-29T09:57:23.635115+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/proxyquire"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:16.683965+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:16.683965+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T08:19:04.945237+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3589e5d9d3e46ac4d1dde497cc6f61357e4335d61e580ceed4f657225cac6570", "fetched_at": "2026-08-28T04:07:16.683965+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/proxyquire"}, {"content_hash": "d7f25669a1e7c9088ae2890d11b4cdbd333b25d8cf3e0b1b54c58b18489b4b0b", "fetched_at": "2026-08-29T09:57:23.635115+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/proxyquire"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T08:19:04.945237+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3589e5d9d3e46ac4d1dde497cc6f61357e4335d61e580ceed4f657225cac6570", "fetched_at": "2026-08-28T04:07:16.683965+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/proxyquire"}, {"content_hash": "d7f25669a1e7c9088ae2890d11b4cdbd333b25d8cf3e0b1b54c58b18489b4b0b", "fetched_at": "2026-08-29T09:57:23.635115+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/proxyquire"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T08:19:04.945237+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3589e5d9d3e46ac4d1dde497cc6f61357e4335d61e580ceed4f657225cac6570", "fetched_at": "2026-08-28T04:07:16.683965+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/proxyquire"}, {"content_hash": "d7f25669a1e7c9088ae2890d11b4cdbd333b25d8cf3e0b1b54c58b18489b4b0b", "fetched_at": "2026-08-29T09:57:23.635115+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/proxyquire"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T08:19:04.945237+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3589e5d9d3e46ac4d1dde497cc6f61357e4335d61e580ceed4f657225cac6570", "fetched_at": "2026-08-28T04:07:16.683965+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/proxyquire"}, {"content_hash": "d7f25669a1e7c9088ae2890d11b4cdbd333b25d8cf3e0b1b54c58b18489b4b0b", "fetched_at": "2026-08-29T09:57:23.635115+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/proxyquire"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 36, "longevity": 100, "rhythm": 8}, "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": 5174, "days_push": 386, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 39, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}