{"adoption": {"forks": 38, "observed_at": "2026-08-28T04:03:42.443792+00:00", "stars": 1131}, "canonical_url": "https://ross.abutalabs.com/products/sentineljs", "card": {"archived": false, "artifact_type": "library", "description": "Detect new DOM nodes using CSS selectors (650 bytes)", "domain": ["web-development", "frontend", "developer-tools"], "enriched": true, "function": ["ui-components", "middleware"], "health_score": 22, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["amorey/sentineljs"], "name": "amorey/sentineljs", "platform": ["browser"], "pushed_at": "2024-07-29T20:50:55+00:00", "repo": "amorey/sentineljs", "stars": 1131, "tags": ["dom-watching", "css-selectors", "custom-elements", "animationstart", "micro-library", "mutation-observer-alternative", "javascript"], "topics": ["javascript", "dom"], "urls": [], "use_cases": ["detect when a new DOM element matching a CSS selector is added", "implement custom elements without a framework", "watch for dynamically injected nodes in the DOM", "replace MutationObserver with a faster selector-based watch", "auto-initialize third-party widgets on newly inserted elements"], "what_it_is": "SentinelJS is a tiny (668 bytes) JavaScript library that detects new DOM nodes matching CSS selectors using dynamically-defined @keyframes animation rules and animationstart events. It lets you register watch functions that fire whenever matching elements are added to the DOM, useful for implementing custom elements and in-place DOM modifications.", "when_to_avoid": ["you need to detect elements with display:none styling (SentinelJS cannot see them)", "your CSS already uses animation-name on overlapping selectors, causing conflicts", "you need to observe attribute changes or node removals, not just additions"], "when_to_choose": ["you need a tiny, dependency-free way to react to new DOM nodes by CSS selector", "MutationObserver performance overhead is a concern for large documents", "you want lightweight custom-element-like behavior in older browsers"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sentineljs", "repo": "amorey/sentineljs", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.443792+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:38:00.996875+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47bed12fc7f2694b105f74700f7dbf89f24a9f7cd7bf85b84f00e34a60b6506b", "fetched_at": "2026-08-28T04:03:42.443792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amorey/sentineljs"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.443792+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:38:00.996875+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47bed12fc7f2694b105f74700f7dbf89f24a9f7cd7bf85b84f00e34a60b6506b", "fetched_at": "2026-08-28T04:03:42.443792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amorey/sentineljs"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:38:00.996875+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47bed12fc7f2694b105f74700f7dbf89f24a9f7cd7bf85b84f00e34a60b6506b", "fetched_at": "2026-08-28T04:03:42.443792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amorey/sentineljs"}], "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:42.443792+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.443792+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.443792+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:38:00.996875+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47bed12fc7f2694b105f74700f7dbf89f24a9f7cd7bf85b84f00e34a60b6506b", "fetched_at": "2026-08-28T04:03:42.443792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amorey/sentineljs"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.443792+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.443792+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:38:00.996875+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47bed12fc7f2694b105f74700f7dbf89f24a9f7cd7bf85b84f00e34a60b6506b", "fetched_at": "2026-08-28T04:03:42.443792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amorey/sentineljs"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.443792+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.443792+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.443792+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:38:00.996875+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47bed12fc7f2694b105f74700f7dbf89f24a9f7cd7bf85b84f00e34a60b6506b", "fetched_at": "2026-08-28T04:03:42.443792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amorey/sentineljs"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.443792+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.443792+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:38:00.996875+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47bed12fc7f2694b105f74700f7dbf89f24a9f7cd7bf85b84f00e34a60b6506b", "fetched_at": "2026-08-28T04:03:42.443792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amorey/sentineljs"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:38:00.996875+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47bed12fc7f2694b105f74700f7dbf89f24a9f7cd7bf85b84f00e34a60b6506b", "fetched_at": "2026-08-28T04:03:42.443792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amorey/sentineljs"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:38:00.996875+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47bed12fc7f2694b105f74700f7dbf89f24a9f7cd7bf85b84f00e34a60b6506b", "fetched_at": "2026-08-28T04:03:42.443792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amorey/sentineljs"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:38:00.996875+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47bed12fc7f2694b105f74700f7dbf89f24a9f7cd7bf85b84f00e34a60b6506b", "fetched_at": "2026-08-28T04:03:42.443792+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amorey/sentineljs"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "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": 3271, "days_push": 765, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}