{"adoption": {"forks": 325, "observed_at": "2026-08-28T04:08:35.580003+00:00", "stars": 4102}, "canonical_url": "https://ross.abutalabs.com/products/body-scroll-lock", "card": {"archived": false, "artifact_type": "library", "description": "Body scroll locking that just works with everything 😏", "domain": ["web-development", "frontend", "mobile-development"], "enriched": true, "function": ["ui-components", "middleware"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["willmcpo/body-scroll-lock"], "name": "willmcpo/body-scroll-lock", "platform": ["browser", "cross-platform"], "pushed_at": "2023-03-30T18:49:50+00:00", "repo": "willmcpo/body-scroll-lock", "stars": 4102, "tags": ["body-scroll-lock", "scroll-locking", "ios-safari", "modal", "lightbox", "vanilla-js", "react", "vue", "angular", "nodejs"], "topics": ["body-scroll-lock", "react-scroll-lock", "scroll-lock", "body-scroll", "react", "vanilla-js", "angular", "modal", "lightbox", "ios", "mobile", "chrome", "safari", "overflow", "freeze", "lock", "toggle", "react-scrolllock", "bsl", "vuejs"], "urls": [], "use_cases": ["lock body scroll when a modal is open", "prevent background scrolling on iOS Safari", "keep modal content scrollable while freezing the page", "disable body scroll for lightbox overlays", "lock page scroll behind a mobile nav menu", "handle nested scrollable overlays", "reserve scrollbar width when locking scroll"], "what_it_is": "A small JavaScript library that locks body scrolling on iOS, Android, and desktop browsers while preserving scrolling of a target element such as a modal, lightbox, or flyout. It works with vanilla JS and frameworks like React, Angular, and Vue.", "when_to_avoid": ["you only target modern browsers with native overflow: clip support and want zero dependencies", "you need a maintained solution - the project is in maintenance with its latest release in 2023", "you need scroll locking for a specific framework with an official built-in solution"], "when_to_choose": ["you need reliable body scroll locking on iOS mobile/tablet", "you want to keep a target element (modal, flyout) scrollable", "you use vanilla JS, React, Angular, or Vue", "you need nested target element support or scrollbar width reservation"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/body-scroll-lock", "repo": "willmcpo/body-scroll-lock", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.580003+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:23:16.191751+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7ba2800ab5b02d4bbb87e6f0a1aa4596fcae4c62c18de9370f4ccbe73c884c45", "fetched_at": "2026-08-28T04:08:35.580003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/willmcpo/body-scroll-lock"}, {"content_hash": "63d674b117ab39eefeed71bccd36188e5bff2116d87217a091dac9dd806bba4e", "fetched_at": "2026-08-29T09:15:04.431250+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/body-scroll-lock"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.580003+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:23:16.191751+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7ba2800ab5b02d4bbb87e6f0a1aa4596fcae4c62c18de9370f4ccbe73c884c45", "fetched_at": "2026-08-28T04:08:35.580003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/willmcpo/body-scroll-lock"}, {"content_hash": "63d674b117ab39eefeed71bccd36188e5bff2116d87217a091dac9dd806bba4e", "fetched_at": "2026-08-29T09:15:04.431250+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/body-scroll-lock"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:23:16.191751+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7ba2800ab5b02d4bbb87e6f0a1aa4596fcae4c62c18de9370f4ccbe73c884c45", "fetched_at": "2026-08-28T04:08:35.580003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/willmcpo/body-scroll-lock"}, {"content_hash": "63d674b117ab39eefeed71bccd36188e5bff2116d87217a091dac9dd806bba4e", "fetched_at": "2026-08-29T09:15:04.431250+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/body-scroll-lock"}], "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:35.580003+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.580003+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.580003+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:23:16.191751+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7ba2800ab5b02d4bbb87e6f0a1aa4596fcae4c62c18de9370f4ccbe73c884c45", "fetched_at": "2026-08-28T04:08:35.580003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/willmcpo/body-scroll-lock"}, {"content_hash": "63d674b117ab39eefeed71bccd36188e5bff2116d87217a091dac9dd806bba4e", "fetched_at": "2026-08-29T09:15:04.431250+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/body-scroll-lock"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.580003+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.580003+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:23:16.191751+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7ba2800ab5b02d4bbb87e6f0a1aa4596fcae4c62c18de9370f4ccbe73c884c45", "fetched_at": "2026-08-28T04:08:35.580003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/willmcpo/body-scroll-lock"}, {"content_hash": "63d674b117ab39eefeed71bccd36188e5bff2116d87217a091dac9dd806bba4e", "fetched_at": "2026-08-29T09:15:04.431250+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/body-scroll-lock"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.580003+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.580003+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.580003+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:23:16.191751+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7ba2800ab5b02d4bbb87e6f0a1aa4596fcae4c62c18de9370f4ccbe73c884c45", "fetched_at": "2026-08-28T04:08:35.580003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/willmcpo/body-scroll-lock"}, {"content_hash": "63d674b117ab39eefeed71bccd36188e5bff2116d87217a091dac9dd806bba4e", "fetched_at": "2026-08-29T09:15:04.431250+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/body-scroll-lock"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.580003+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:35.580003+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:23:16.191751+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7ba2800ab5b02d4bbb87e6f0a1aa4596fcae4c62c18de9370f4ccbe73c884c45", "fetched_at": "2026-08-28T04:08:35.580003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/willmcpo/body-scroll-lock"}, {"content_hash": "63d674b117ab39eefeed71bccd36188e5bff2116d87217a091dac9dd806bba4e", "fetched_at": "2026-08-29T09:15:04.431250+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/body-scroll-lock"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:23:16.191751+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7ba2800ab5b02d4bbb87e6f0a1aa4596fcae4c62c18de9370f4ccbe73c884c45", "fetched_at": "2026-08-28T04:08:35.580003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/willmcpo/body-scroll-lock"}, {"content_hash": "63d674b117ab39eefeed71bccd36188e5bff2116d87217a091dac9dd806bba4e", "fetched_at": "2026-08-29T09:15:04.431250+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/body-scroll-lock"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:23:16.191751+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7ba2800ab5b02d4bbb87e6f0a1aa4596fcae4c62c18de9370f4ccbe73c884c45", "fetched_at": "2026-08-28T04:08:35.580003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/willmcpo/body-scroll-lock"}, {"content_hash": "63d674b117ab39eefeed71bccd36188e5bff2116d87217a091dac9dd806bba4e", "fetched_at": "2026-08-29T09:15:04.431250+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/body-scroll-lock"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:23:16.191751+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7ba2800ab5b02d4bbb87e6f0a1aa4596fcae4c62c18de9370f4ccbe73c884c45", "fetched_at": "2026-08-28T04:08:35.580003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/willmcpo/body-scroll-lock"}, {"content_hash": "63d674b117ab39eefeed71bccd36188e5bff2116d87217a091dac9dd806bba4e", "fetched_at": "2026-08-29T09:15:04.431250+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/body-scroll-lock"}], "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": 3148, "days_push": 1252, "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}}