{"adoption": {"forks": 225, "observed_at": "2026-08-28T04:08:54.956352+00:00", "stars": 4609}, "canonical_url": "https://ross.abutalabs.com/products/in-view", "card": {"archived": true, "artifact_type": "library", "description": "Get notified when a DOM element enters or exits the viewport. :eyes:", "domain": ["web-development", "frontend"], "enriched": true, "function": ["ui-components", "animation", "developer-tools"], "health_score": 10, "homepage": "https://camwiegert.github.io/in-view", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["camwiegert/in-view"], "name": "camwiegert/in-view", "platform": ["browser"], "pushed_at": "2019-10-27T19:45:24+00:00", "repo": "camwiegert/in-view", "stars": 4609, "tags": ["viewport-detection", "scroll-events", "intersection-observer", "dom", "lazy-loading", "javascript"], "topics": ["javascript", "utility", "viewport"], "urls": [], "use_cases": ["trigger animations when elements scroll into view", "lazy-load images when they enter the viewport", "pause videos when they scroll out of view", "track which sections of a page the user has seen", "fade elements in and out based on scroll position", "check whether a specific element is currently visible"], "what_it_is": "in-view is a small (~1.9kb gzipped), dependency-free JavaScript utility that notifies you when DOM elements enter or exit the viewport. It supports configurable offsets and visibility thresholds, and works in IE9+.", "when_to_avoid": ["you only target modern browsers and prefer the native IntersectionObserver API", "you need advanced scroll tracking like velocity or parallax effects", "the project requires actively maintained dependencies, since the latest release was in 2019"], "when_to_choose": ["you need a tiny, dependency-free viewport detection utility for older browsers like IE9+", "you want a simple event-based API for enter/exit notifications without learning IntersectionObserver", "you need configurable offsets and visibility thresholds for scroll-based triggers"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/in-view", "repo": "camwiegert/in-view", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:54.956352+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:19:43.791152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e7bd15191d6aa1971f650aa9acb5f2d0fc595a71bf7282d3d2dbc0b8a1ef84ee", "fetched_at": "2026-08-28T04:08:54.956352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/camwiegert/in-view"}, {"content_hash": "6e5a10d2108289d02f782dcc7e618cae616aa7cf7ea127ff9191a2726d4e1f28", "fetched_at": "2026-08-29T09:04:49.408221+00:00", "kind": "homepage", "missing": false, "url": "https://camwiegert.github.io/in-view"}, {"content_hash": "0979c900c20610e92c3d42ad305ec9b34d3f9d5a3e5a5af56cc3f72373ac93aa", "fetched_at": "2026-08-29T09:04:49.417215+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/in-view"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:54.956352+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:19:43.791152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e7bd15191d6aa1971f650aa9acb5f2d0fc595a71bf7282d3d2dbc0b8a1ef84ee", "fetched_at": "2026-08-28T04:08:54.956352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/camwiegert/in-view"}, {"content_hash": "6e5a10d2108289d02f782dcc7e618cae616aa7cf7ea127ff9191a2726d4e1f28", "fetched_at": "2026-08-29T09:04:49.408221+00:00", "kind": "homepage", "missing": false, "url": "https://camwiegert.github.io/in-view"}, {"content_hash": "0979c900c20610e92c3d42ad305ec9b34d3f9d5a3e5a5af56cc3f72373ac93aa", "fetched_at": "2026-08-29T09:04:49.417215+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/in-view"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:19:43.791152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e7bd15191d6aa1971f650aa9acb5f2d0fc595a71bf7282d3d2dbc0b8a1ef84ee", "fetched_at": "2026-08-28T04:08:54.956352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/camwiegert/in-view"}, {"content_hash": "6e5a10d2108289d02f782dcc7e618cae616aa7cf7ea127ff9191a2726d4e1f28", "fetched_at": "2026-08-29T09:04:49.408221+00:00", "kind": "homepage", "missing": false, "url": "https://camwiegert.github.io/in-view"}, {"content_hash": "0979c900c20610e92c3d42ad305ec9b34d3f9d5a3e5a5af56cc3f72373ac93aa", "fetched_at": "2026-08-29T09:04:49.417215+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/in-view"}], "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:08:54.956352+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:54.956352+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:54.956352+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:19:43.791152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e7bd15191d6aa1971f650aa9acb5f2d0fc595a71bf7282d3d2dbc0b8a1ef84ee", "fetched_at": "2026-08-28T04:08:54.956352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/camwiegert/in-view"}, {"content_hash": "6e5a10d2108289d02f782dcc7e618cae616aa7cf7ea127ff9191a2726d4e1f28", "fetched_at": "2026-08-29T09:04:49.408221+00:00", "kind": "homepage", "missing": false, "url": "https://camwiegert.github.io/in-view"}, {"content_hash": "0979c900c20610e92c3d42ad305ec9b34d3f9d5a3e5a5af56cc3f72373ac93aa", "fetched_at": "2026-08-29T09:04:49.417215+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/in-view"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:54.956352+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:54.956352+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:19:43.791152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e7bd15191d6aa1971f650aa9acb5f2d0fc595a71bf7282d3d2dbc0b8a1ef84ee", "fetched_at": "2026-08-28T04:08:54.956352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/camwiegert/in-view"}, {"content_hash": "6e5a10d2108289d02f782dcc7e618cae616aa7cf7ea127ff9191a2726d4e1f28", "fetched_at": "2026-08-29T09:04:49.408221+00:00", "kind": "homepage", "missing": false, "url": "https://camwiegert.github.io/in-view"}, {"content_hash": "0979c900c20610e92c3d42ad305ec9b34d3f9d5a3e5a5af56cc3f72373ac93aa", "fetched_at": "2026-08-29T09:04:49.417215+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/in-view"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:54.956352+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:54.956352+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:54.956352+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:19:43.791152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e7bd15191d6aa1971f650aa9acb5f2d0fc595a71bf7282d3d2dbc0b8a1ef84ee", "fetched_at": "2026-08-28T04:08:54.956352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/camwiegert/in-view"}, {"content_hash": "6e5a10d2108289d02f782dcc7e618cae616aa7cf7ea127ff9191a2726d4e1f28", "fetched_at": "2026-08-29T09:04:49.408221+00:00", "kind": "homepage", "missing": false, "url": "https://camwiegert.github.io/in-view"}, {"content_hash": "0979c900c20610e92c3d42ad305ec9b34d3f9d5a3e5a5af56cc3f72373ac93aa", "fetched_at": "2026-08-29T09:04:49.417215+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/in-view"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:54.956352+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:54.956352+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:19:43.791152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e7bd15191d6aa1971f650aa9acb5f2d0fc595a71bf7282d3d2dbc0b8a1ef84ee", "fetched_at": "2026-08-28T04:08:54.956352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/camwiegert/in-view"}, {"content_hash": "6e5a10d2108289d02f782dcc7e618cae616aa7cf7ea127ff9191a2726d4e1f28", "fetched_at": "2026-08-29T09:04:49.408221+00:00", "kind": "homepage", "missing": false, "url": "https://camwiegert.github.io/in-view"}, {"content_hash": "0979c900c20610e92c3d42ad305ec9b34d3f9d5a3e5a5af56cc3f72373ac93aa", "fetched_at": "2026-08-29T09:04:49.417215+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/in-view"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:19:43.791152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e7bd15191d6aa1971f650aa9acb5f2d0fc595a71bf7282d3d2dbc0b8a1ef84ee", "fetched_at": "2026-08-28T04:08:54.956352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/camwiegert/in-view"}, {"content_hash": "6e5a10d2108289d02f782dcc7e618cae616aa7cf7ea127ff9191a2726d4e1f28", "fetched_at": "2026-08-29T09:04:49.408221+00:00", "kind": "homepage", "missing": false, "url": "https://camwiegert.github.io/in-view"}, {"content_hash": "0979c900c20610e92c3d42ad305ec9b34d3f9d5a3e5a5af56cc3f72373ac93aa", "fetched_at": "2026-08-29T09:04:49.417215+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/in-view"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:19:43.791152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e7bd15191d6aa1971f650aa9acb5f2d0fc595a71bf7282d3d2dbc0b8a1ef84ee", "fetched_at": "2026-08-28T04:08:54.956352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/camwiegert/in-view"}, {"content_hash": "6e5a10d2108289d02f782dcc7e618cae616aa7cf7ea127ff9191a2726d4e1f28", "fetched_at": "2026-08-29T09:04:49.408221+00:00", "kind": "homepage", "missing": false, "url": "https://camwiegert.github.io/in-view"}, {"content_hash": "0979c900c20610e92c3d42ad305ec9b34d3f9d5a3e5a5af56cc3f72373ac93aa", "fetched_at": "2026-08-29T09:04:49.417215+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/in-view"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:19:43.791152+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e7bd15191d6aa1971f650aa9acb5f2d0fc595a71bf7282d3d2dbc0b8a1ef84ee", "fetched_at": "2026-08-28T04:08:54.956352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/camwiegert/in-view"}, {"content_hash": "6e5a10d2108289d02f782dcc7e618cae616aa7cf7ea127ff9191a2726d4e1f28", "fetched_at": "2026-08-29T09:04:49.408221+00:00", "kind": "homepage", "missing": false, "url": "https://camwiegert.github.io/in-view"}, {"content_hash": "0979c900c20610e92c3d42ad305ec9b34d3f9d5a3e5a5af56cc3f72373ac93aa", "fetched_at": "2026-08-29T09:04:49.417215+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/in-view"}], "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"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3683, "days_push": 2502, "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}}