{"adoption": {"forks": 87, "observed_at": "2026-08-28T04:06:07.225413+00:00", "stars": 2030}, "canonical_url": "https://ross.abutalabs.com/products/on-change", "card": {"archived": false, "artifact_type": "library", "description": "Watch an object or array for changes", "domain": ["web-development", "frontend", "developer-tools"], "enriched": true, "function": ["state-management", "developer-tools"], "health_score": 76, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["sindresorhus/on-change"], "name": "sindresorhus/on-change", "platform": ["browser"], "pushed_at": "2026-02-01T15:01:06+00:00", "repo": "sindresorhus/on-change", "stars": 2030, "tags": ["proxy", "observer", "change-detection", "es2015-proxy", "npm-package", "nodejs", "javascript"], "topics": ["watch", "object", "change-detection", "es2015-proxy", "nodejs", "npm-package"], "urls": [], "use_cases": ["watch javascript object for changes", "detect deep property mutations in an object", "observe array changes like push or splice", "build reactive state without a framework", "track which object paths were modified", "unsubscribe from object change notifications"], "what_it_is": "A tiny JavaScript library that watches objects and arrays for changes using the ES2015 Proxy API. It recursively detects deep mutations and invokes a callback with the change path, new value, previous value, and method data.", "when_to_avoid": ["you need to support environments without Proxy (older browsers)", "you need a full reactive state management system with stores and subscriptions", "you need to observe non-object types or class instances with private fields"], "when_to_choose": ["you need lightweight change detection for plain objects and arrays", "you want deep, recursive observation with change paths", "you're in a modern environment supporting ES2015 Proxy"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/on-change", "repo": "sindresorhus/on-change", "role": "main", "score": 69}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.225413+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.076873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "430b1cc6544651529d930d9ba5e5afe4f169ab34b59d756f727b4c603c6f4a0b", "fetched_at": "2026-08-28T04:06:07.225413+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/on-change"}, {"content_hash": "4b16cff73707a0ccf8003f93c3dcb830b04a08d780ac9fc9a7d63f1bd4120c81", "fetched_at": "2026-08-29T10:39:36.475546+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/on-change"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.225413+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.076873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "430b1cc6544651529d930d9ba5e5afe4f169ab34b59d756f727b4c603c6f4a0b", "fetched_at": "2026-08-28T04:06:07.225413+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/on-change"}, {"content_hash": "4b16cff73707a0ccf8003f93c3dcb830b04a08d780ac9fc9a7d63f1bd4120c81", "fetched_at": "2026-08-29T10:39:36.475546+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/on-change"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.076873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "430b1cc6544651529d930d9ba5e5afe4f169ab34b59d756f727b4c603c6f4a0b", "fetched_at": "2026-08-28T04:06:07.225413+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/on-change"}, {"content_hash": "4b16cff73707a0ccf8003f93c3dcb830b04a08d780ac9fc9a7d63f1bd4120c81", "fetched_at": "2026-08-29T10:39:36.475546+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/on-change"}], "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:06:07.225413+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.225413+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.225413+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.076873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "430b1cc6544651529d930d9ba5e5afe4f169ab34b59d756f727b4c603c6f4a0b", "fetched_at": "2026-08-28T04:06:07.225413+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/on-change"}, {"content_hash": "4b16cff73707a0ccf8003f93c3dcb830b04a08d780ac9fc9a7d63f1bd4120c81", "fetched_at": "2026-08-29T10:39:36.475546+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/on-change"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.225413+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.225413+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.076873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "430b1cc6544651529d930d9ba5e5afe4f169ab34b59d756f727b4c603c6f4a0b", "fetched_at": "2026-08-28T04:06:07.225413+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/on-change"}, {"content_hash": "4b16cff73707a0ccf8003f93c3dcb830b04a08d780ac9fc9a7d63f1bd4120c81", "fetched_at": "2026-08-29T10:39:36.475546+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/on-change"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.225413+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.225413+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.225413+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.076873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "430b1cc6544651529d930d9ba5e5afe4f169ab34b59d756f727b4c603c6f4a0b", "fetched_at": "2026-08-28T04:06:07.225413+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/on-change"}, {"content_hash": "4b16cff73707a0ccf8003f93c3dcb830b04a08d780ac9fc9a7d63f1bd4120c81", "fetched_at": "2026-08-29T10:39:36.475546+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/on-change"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.225413+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.225413+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.076873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "430b1cc6544651529d930d9ba5e5afe4f169ab34b59d756f727b4c603c6f4a0b", "fetched_at": "2026-08-28T04:06:07.225413+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/on-change"}, {"content_hash": "4b16cff73707a0ccf8003f93c3dcb830b04a08d780ac9fc9a7d63f1bd4120c81", "fetched_at": "2026-08-29T10:39:36.475546+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/on-change"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.076873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "430b1cc6544651529d930d9ba5e5afe4f169ab34b59d756f727b4c603c6f4a0b", "fetched_at": "2026-08-28T04:06:07.225413+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/on-change"}, {"content_hash": "4b16cff73707a0ccf8003f93c3dcb830b04a08d780ac9fc9a7d63f1bd4120c81", "fetched_at": "2026-08-29T10:39:36.475546+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/on-change"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.076873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "430b1cc6544651529d930d9ba5e5afe4f169ab34b59d756f727b4c603c6f4a0b", "fetched_at": "2026-08-28T04:06:07.225413+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/on-change"}, {"content_hash": "4b16cff73707a0ccf8003f93c3dcb830b04a08d780ac9fc9a7d63f1bd4120c81", "fetched_at": "2026-08-29T10:39:36.475546+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/on-change"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.076873+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "430b1cc6544651529d930d9ba5e5afe4f169ab34b59d756f727b4c603c6f4a0b", "fetched_at": "2026-08-28T04:06:07.225413+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/on-change"}, {"content_hash": "4b16cff73707a0ccf8003f93c3dcb830b04a08d780ac9fc9a7d63f1bd4120c81", "fetched_at": "2026-08-29T10:39:36.475546+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/on-change"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 65, "longevity": 100, "rhythm": 56}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3187, "days_push": 213, "days_rel": 213, "gap_med": 65.0, "n_releases_24m": 3}, "score": 69, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}