{"adoption": {"forks": 77, "observed_at": "2026-08-28T04:04:45.878341+00:00", "stars": 1450}, "canonical_url": "https://ross.abutalabs.com/products/scroll-into-view-if-needed", "card": {"archived": false, "artifact_type": "library", "description": "Element.scrollIntoView ponyfills for things like \"if-needed\" and \"smooth\"", "domain": ["web-development", "frontend"], "enriched": true, "function": ["animation"], "health_score": 82, "homepage": "https://scroll-into-view.dev", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["scroll-into-view/scroll-into-view-if-needed"], "name": "scroll-into-view/scroll-into-view-if-needed", "platform": ["browser", "cross-platform"], "pushed_at": "2026-08-26T18:33:48+00:00", "repo": "scroll-into-view/scroll-into-view-if-needed", "stars": 1450, "tags": ["ponyfill", "smooth-scrolling", "scrollintoview", "typescript", "dom"], "topics": ["ponyfill", "scrolling", "animation", "smooth-scrolling", "typescript", "polyfill", "scrollintoview", "scroll-into-view", "smooth", "smoothscroll"], "urls": [], "use_cases": ["scroll an element into view only if it is not fully visible", "smoothly scroll to a DOM element with consistent behavior across browsers", "align a scrolled element to center of the viewport", "limit scrolling to a specific boundary container", "replace non-standard scrollIntoViewIfNeeded with a spec-compliant API", "customize scroll animation with a custom behavior function"], "what_it_is": "A small, dependency-free JavaScript ponyfill for Element.scrollIntoView that implements upcoming spec features like scrollMode: 'if-needed', behavior: 'smooth', and alignment options. It lets developers scroll elements into view only when necessary, with customizable boundaries and scroll behavior.", "when_to_avoid": ["native Element.scrollIntoView already covers your needs in your target browsers", "you need scroll animation outside the DOM/browser context", "you need a full-featured animation library rather than a scrolling utility"], "when_to_choose": ["you need 'if-needed' scrolling semantics in browsers that lack support", "you want consistent smooth scrolling behavior across Chrome, Firefox, and Safari", "you need fine-grained control over scroll alignment and boundaries", "you want a tiny, dependency-free scrolling utility"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/scroll-into-view-if-needed", "repo": "scroll-into-view/scroll-into-view-if-needed", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:45.878341+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:35:57.042782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa2b948023057b16729121014f10b72b0f2ee8b6ddd6b473ce9250f3c643cd7b", "fetched_at": "2026-08-28T04:04:45.878341+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scroll-into-view/scroll-into-view-if-needed"}, {"content_hash": "c189c9d38a463f5f258f389b01fc720037e7784856aa56f18649586104518f35", "fetched_at": "2026-08-29T11:45:43.208234+00:00", "kind": "homepage", "missing": false, "url": "https://scroll-into-view.dev"}, {"content_hash": "7161938a4b6bd51d3b7aae14d7476c6b3be4bb466441bb612127bb21b0d7ea90", "fetched_at": "2026-08-29T11:45:43.217143+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/scroll-into-view-if-needed"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:45.878341+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:35:57.042782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa2b948023057b16729121014f10b72b0f2ee8b6ddd6b473ce9250f3c643cd7b", "fetched_at": "2026-08-28T04:04:45.878341+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scroll-into-view/scroll-into-view-if-needed"}, {"content_hash": "c189c9d38a463f5f258f389b01fc720037e7784856aa56f18649586104518f35", "fetched_at": "2026-08-29T11:45:43.208234+00:00", "kind": "homepage", "missing": false, "url": "https://scroll-into-view.dev"}, {"content_hash": "7161938a4b6bd51d3b7aae14d7476c6b3be4bb466441bb612127bb21b0d7ea90", "fetched_at": "2026-08-29T11:45:43.217143+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/scroll-into-view-if-needed"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:35:57.042782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa2b948023057b16729121014f10b72b0f2ee8b6ddd6b473ce9250f3c643cd7b", "fetched_at": "2026-08-28T04:04:45.878341+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scroll-into-view/scroll-into-view-if-needed"}, {"content_hash": "c189c9d38a463f5f258f389b01fc720037e7784856aa56f18649586104518f35", "fetched_at": "2026-08-29T11:45:43.208234+00:00", "kind": "homepage", "missing": false, "url": "https://scroll-into-view.dev"}, {"content_hash": "7161938a4b6bd51d3b7aae14d7476c6b3be4bb466441bb612127bb21b0d7ea90", "fetched_at": "2026-08-29T11:45:43.217143+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/scroll-into-view-if-needed"}], "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:04:45.878341+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:45.878341+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:45.878341+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:35:57.042782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa2b948023057b16729121014f10b72b0f2ee8b6ddd6b473ce9250f3c643cd7b", "fetched_at": "2026-08-28T04:04:45.878341+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scroll-into-view/scroll-into-view-if-needed"}, {"content_hash": "c189c9d38a463f5f258f389b01fc720037e7784856aa56f18649586104518f35", "fetched_at": "2026-08-29T11:45:43.208234+00:00", "kind": "homepage", "missing": false, "url": "https://scroll-into-view.dev"}, {"content_hash": "7161938a4b6bd51d3b7aae14d7476c6b3be4bb466441bb612127bb21b0d7ea90", "fetched_at": "2026-08-29T11:45:43.217143+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/scroll-into-view-if-needed"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:45.878341+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:45.878341+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:35:57.042782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa2b948023057b16729121014f10b72b0f2ee8b6ddd6b473ce9250f3c643cd7b", "fetched_at": "2026-08-28T04:04:45.878341+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scroll-into-view/scroll-into-view-if-needed"}, {"content_hash": "c189c9d38a463f5f258f389b01fc720037e7784856aa56f18649586104518f35", "fetched_at": "2026-08-29T11:45:43.208234+00:00", "kind": "homepage", "missing": false, "url": "https://scroll-into-view.dev"}, {"content_hash": "7161938a4b6bd51d3b7aae14d7476c6b3be4bb466441bb612127bb21b0d7ea90", "fetched_at": "2026-08-29T11:45:43.217143+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/scroll-into-view-if-needed"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:45.878341+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:45.878341+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:45.878341+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:35:57.042782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa2b948023057b16729121014f10b72b0f2ee8b6ddd6b473ce9250f3c643cd7b", "fetched_at": "2026-08-28T04:04:45.878341+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scroll-into-view/scroll-into-view-if-needed"}, {"content_hash": "c189c9d38a463f5f258f389b01fc720037e7784856aa56f18649586104518f35", "fetched_at": "2026-08-29T11:45:43.208234+00:00", "kind": "homepage", "missing": false, "url": "https://scroll-into-view.dev"}, {"content_hash": "7161938a4b6bd51d3b7aae14d7476c6b3be4bb466441bb612127bb21b0d7ea90", "fetched_at": "2026-08-29T11:45:43.217143+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/scroll-into-view-if-needed"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:45.878341+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:45.878341+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:35:57.042782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa2b948023057b16729121014f10b72b0f2ee8b6ddd6b473ce9250f3c643cd7b", "fetched_at": "2026-08-28T04:04:45.878341+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scroll-into-view/scroll-into-view-if-needed"}, {"content_hash": "c189c9d38a463f5f258f389b01fc720037e7784856aa56f18649586104518f35", "fetched_at": "2026-08-29T11:45:43.208234+00:00", "kind": "homepage", "missing": false, "url": "https://scroll-into-view.dev"}, {"content_hash": "7161938a4b6bd51d3b7aae14d7476c6b3be4bb466441bb612127bb21b0d7ea90", "fetched_at": "2026-08-29T11:45:43.217143+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/scroll-into-view-if-needed"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:35:57.042782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa2b948023057b16729121014f10b72b0f2ee8b6ddd6b473ce9250f3c643cd7b", "fetched_at": "2026-08-28T04:04:45.878341+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scroll-into-view/scroll-into-view-if-needed"}, {"content_hash": "c189c9d38a463f5f258f389b01fc720037e7784856aa56f18649586104518f35", "fetched_at": "2026-08-29T11:45:43.208234+00:00", "kind": "homepage", "missing": false, "url": "https://scroll-into-view.dev"}, {"content_hash": "7161938a4b6bd51d3b7aae14d7476c6b3be4bb466441bb612127bb21b0d7ea90", "fetched_at": "2026-08-29T11:45:43.217143+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/scroll-into-view-if-needed"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:35:57.042782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa2b948023057b16729121014f10b72b0f2ee8b6ddd6b473ce9250f3c643cd7b", "fetched_at": "2026-08-28T04:04:45.878341+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scroll-into-view/scroll-into-view-if-needed"}, {"content_hash": "c189c9d38a463f5f258f389b01fc720037e7784856aa56f18649586104518f35", "fetched_at": "2026-08-29T11:45:43.208234+00:00", "kind": "homepage", "missing": false, "url": "https://scroll-into-view.dev"}, {"content_hash": "7161938a4b6bd51d3b7aae14d7476c6b3be4bb466441bb612127bb21b0d7ea90", "fetched_at": "2026-08-29T11:45:43.217143+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/scroll-into-view-if-needed"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:35:57.042782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa2b948023057b16729121014f10b72b0f2ee8b6ddd6b473ce9250f3c643cd7b", "fetched_at": "2026-08-28T04:04:45.878341+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scroll-into-view/scroll-into-view-if-needed"}, {"content_hash": "c189c9d38a463f5f258f389b01fc720037e7784856aa56f18649586104518f35", "fetched_at": "2026-08-29T11:45:43.208234+00:00", "kind": "homepage", "missing": false, "url": "https://scroll-into-view.dev"}, {"content_hash": "7161938a4b6bd51d3b7aae14d7476c6b3be4bb466441bb612127bb21b0d7ea90", "fetched_at": "2026-08-29T11:45:43.217143+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/scroll-into-view-if-needed"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "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": 3789, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}