{"adoption": {"forks": 368, "observed_at": "2026-08-28T04:06:42.089025+00:00", "stars": 2376}, "canonical_url": "https://ross.abutalabs.com/products/nosleepjs", "card": {"archived": false, "artifact_type": "library", "description": "Prevent display sleep and enable wake lock in any Android or iOS web browser.", "domain": ["web-development", "mobile-development", "cross-platform"], "enriched": true, "function": ["sdk", "developer-tools"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["richtr/NoSleep.js"], "name": "richtr/NoSleep.js", "platform": ["browser"], "pushed_at": "2024-07-30T09:03:21+00:00", "repo": "richtr/NoSleep.js", "stars": 2376, "tags": ["wake-lock", "screen-sleep-prevention", "mobile-web", "javascript-library", "android", "ios", "javascript"], "topics": ["nosleep", "wake-lock", "javascript", "android", "ios"], "urls": [], "use_cases": ["keep the screen on while a web app plays video or audio", "prevent display sleep during a mobile web game", "hold wake lock while showing a recipe or workout in the browser", "stop the screen dimming during a long-running web-based presentation", "enable wake lock after a user tap in a mobile web app"], "what_it_is": "NoSleep.js is a small JavaScript library that prevents the display from sleeping and enables wake lock in Android and iOS web browsers. It wraps the Wake Lock API with fallbacks so web apps can keep the screen on during playback or other long-running interactions.", "when_to_avoid": ["you are building a native mobile app rather than a web app", "you only target desktop browsers where screen sleep is managed differently", "you need a maintained solution with active development and frequent releases"], "when_to_choose": ["you need to keep a mobile browser screen awake on Android or iOS", "you want a tiny dependency with a simple enable/disable API", "you need fallback behavior for browsers without the native Wake Lock API"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nosleepjs", "repo": "richtr/NoSleep.js", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.089025+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:35:00.349226+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8e67ad4e862127bebe1c2ab2fa55967c5066e8c1425cb27b3a5165a70904191", "fetched_at": "2026-08-28T04:06:42.089025+00:00", "kind": "readme", "missing": false, "url": "https://github.com/richtr/NoSleep.js"}, {"content_hash": "8e6e4a95f40a720a0b04086b35ad9ff780c40e0f89a7fdfdd7ebd0dee6a19db8", "fetched_at": "2026-08-29T10:16:16.798423+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nosleep.js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.089025+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:35:00.349226+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8e67ad4e862127bebe1c2ab2fa55967c5066e8c1425cb27b3a5165a70904191", "fetched_at": "2026-08-28T04:06:42.089025+00:00", "kind": "readme", "missing": false, "url": "https://github.com/richtr/NoSleep.js"}, {"content_hash": "8e6e4a95f40a720a0b04086b35ad9ff780c40e0f89a7fdfdd7ebd0dee6a19db8", "fetched_at": "2026-08-29T10:16:16.798423+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nosleep.js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:35:00.349226+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8e67ad4e862127bebe1c2ab2fa55967c5066e8c1425cb27b3a5165a70904191", "fetched_at": "2026-08-28T04:06:42.089025+00:00", "kind": "readme", "missing": false, "url": "https://github.com/richtr/NoSleep.js"}, {"content_hash": "8e6e4a95f40a720a0b04086b35ad9ff780c40e0f89a7fdfdd7ebd0dee6a19db8", "fetched_at": "2026-08-29T10:16:16.798423+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nosleep.js"}], "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:42.089025+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.089025+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.089025+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:35:00.349226+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8e67ad4e862127bebe1c2ab2fa55967c5066e8c1425cb27b3a5165a70904191", "fetched_at": "2026-08-28T04:06:42.089025+00:00", "kind": "readme", "missing": false, "url": "https://github.com/richtr/NoSleep.js"}, {"content_hash": "8e6e4a95f40a720a0b04086b35ad9ff780c40e0f89a7fdfdd7ebd0dee6a19db8", "fetched_at": "2026-08-29T10:16:16.798423+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nosleep.js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.089025+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.089025+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:35:00.349226+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8e67ad4e862127bebe1c2ab2fa55967c5066e8c1425cb27b3a5165a70904191", "fetched_at": "2026-08-28T04:06:42.089025+00:00", "kind": "readme", "missing": false, "url": "https://github.com/richtr/NoSleep.js"}, {"content_hash": "8e6e4a95f40a720a0b04086b35ad9ff780c40e0f89a7fdfdd7ebd0dee6a19db8", "fetched_at": "2026-08-29T10:16:16.798423+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nosleep.js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.089025+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.089025+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.089025+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:35:00.349226+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8e67ad4e862127bebe1c2ab2fa55967c5066e8c1425cb27b3a5165a70904191", "fetched_at": "2026-08-28T04:06:42.089025+00:00", "kind": "readme", "missing": false, "url": "https://github.com/richtr/NoSleep.js"}, {"content_hash": "8e6e4a95f40a720a0b04086b35ad9ff780c40e0f89a7fdfdd7ebd0dee6a19db8", "fetched_at": "2026-08-29T10:16:16.798423+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nosleep.js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.089025+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.089025+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:35:00.349226+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8e67ad4e862127bebe1c2ab2fa55967c5066e8c1425cb27b3a5165a70904191", "fetched_at": "2026-08-28T04:06:42.089025+00:00", "kind": "readme", "missing": false, "url": "https://github.com/richtr/NoSleep.js"}, {"content_hash": "8e6e4a95f40a720a0b04086b35ad9ff780c40e0f89a7fdfdd7ebd0dee6a19db8", "fetched_at": "2026-08-29T10:16:16.798423+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nosleep.js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:35:00.349226+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8e67ad4e862127bebe1c2ab2fa55967c5066e8c1425cb27b3a5165a70904191", "fetched_at": "2026-08-28T04:06:42.089025+00:00", "kind": "readme", "missing": false, "url": "https://github.com/richtr/NoSleep.js"}, {"content_hash": "8e6e4a95f40a720a0b04086b35ad9ff780c40e0f89a7fdfdd7ebd0dee6a19db8", "fetched_at": "2026-08-29T10:16:16.798423+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nosleep.js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:35:00.349226+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8e67ad4e862127bebe1c2ab2fa55967c5066e8c1425cb27b3a5165a70904191", "fetched_at": "2026-08-28T04:06:42.089025+00:00", "kind": "readme", "missing": false, "url": "https://github.com/richtr/NoSleep.js"}, {"content_hash": "8e6e4a95f40a720a0b04086b35ad9ff780c40e0f89a7fdfdd7ebd0dee6a19db8", "fetched_at": "2026-08-29T10:16:16.798423+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nosleep.js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:35:00.349226+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a8e67ad4e862127bebe1c2ab2fa55967c5066e8c1425cb27b3a5165a70904191", "fetched_at": "2026-08-28T04:06:42.089025+00:00", "kind": "readme", "missing": false, "url": "https://github.com/richtr/NoSleep.js"}, {"content_hash": "8e6e4a95f40a720a0b04086b35ad9ff780c40e0f89a7fdfdd7ebd0dee6a19db8", "fetched_at": "2026-08-29T10:16:16.798423+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/nosleep.js"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "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": 4152, "days_push": 764, "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}}