{"adoption": {"forks": 172, "observed_at": "2026-08-28T04:07:19.119288+00:00", "stars": 2773}, "canonical_url": "https://ross.abutalabs.com/products/darkmodejs", "card": {"archived": false, "artifact_type": "library", "description": "🌓 Add a dark-mode / night-mode to your website in a few seconds", "domain": ["frontend", "web-development", "accessibility"], "enriched": true, "function": ["ui-components", "theme"], "health_score": 20, "homepage": "https://darkmodejs.learn.uno", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["sandoche/Darkmode.js"], "name": "sandoche/Darkmode.js", "platform": ["browser"], "pushed_at": "2023-03-28T12:35:03+00:00", "repo": "sandoche/Darkmode.js", "stars": 2773, "tags": ["dark-mode", "vanilla-js", "widget", "mix-blend-mode", "npm-package", "theme-toggle", "javascript", "nodejs"], "topics": ["darkmode", "npm", "npm-package", "npm-module", "dark-theme", "dark", "nightmode", "vanilla-js", "widget"], "urls": [], "use_cases": ["add dark mode to a website in seconds", "drop-in night mode toggle widget for any site", "respect user's OS dark theme preference", "remember dark mode setting across visits", "programmatically toggle dark mode without a widget", "add dark theme to WordPress or Drupal site"], "what_it_is": "Darkmode.js is a lightweight vanilla JavaScript library that adds a dark-mode/night-mode toggle to any website using CSS mix-blend-mode. It provides an automatic floating widget, remembers the user's choice in localStorage, and respects the OS prefers-color-scheme setting.", "when_to_avoid": ["you need a fully designed, per-component dark theme rather than a blend-mode filter", "mix-blend-mode rendering artifacts are unacceptable for your design", "you need fine-grained theming with CSS variables or design tokens"], "when_to_choose": ["you want a zero-config, copy-paste dark mode solution", "your site lacks a native dark theme and you need a quick fix", "you want a lightweight vanilla JS widget with no dependencies"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/darkmodejs", "repo": "sandoche/Darkmode.js", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:19.119288+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T08:16:36.574144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7961648d07a1dc9c6e9abfce54f7629aa76e69e6bd91951207c520e08fc06cbc", "fetched_at": "2026-08-28T04:07:19.119288+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sandoche/Darkmode.js"}, {"content_hash": "7f976c5bb3dc168639b21c6b93d507d102c108d122e9f2736c014f53d4514ea5", "fetched_at": "2026-08-29T09:56:09.527268+00:00", "kind": "homepage", "missing": false, "url": "https://darkmodejs.learn.uno"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:19.119288+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T08:16:36.574144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7961648d07a1dc9c6e9abfce54f7629aa76e69e6bd91951207c520e08fc06cbc", "fetched_at": "2026-08-28T04:07:19.119288+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sandoche/Darkmode.js"}, {"content_hash": "7f976c5bb3dc168639b21c6b93d507d102c108d122e9f2736c014f53d4514ea5", "fetched_at": "2026-08-29T09:56:09.527268+00:00", "kind": "homepage", "missing": false, "url": "https://darkmodejs.learn.uno"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T08:16:36.574144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7961648d07a1dc9c6e9abfce54f7629aa76e69e6bd91951207c520e08fc06cbc", "fetched_at": "2026-08-28T04:07:19.119288+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sandoche/Darkmode.js"}, {"content_hash": "7f976c5bb3dc168639b21c6b93d507d102c108d122e9f2736c014f53d4514ea5", "fetched_at": "2026-08-29T09:56:09.527268+00:00", "kind": "homepage", "missing": false, "url": "https://darkmodejs.learn.uno"}], "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:07:19.119288+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:19.119288+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:19.119288+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T08:16:36.574144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7961648d07a1dc9c6e9abfce54f7629aa76e69e6bd91951207c520e08fc06cbc", "fetched_at": "2026-08-28T04:07:19.119288+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sandoche/Darkmode.js"}, {"content_hash": "7f976c5bb3dc168639b21c6b93d507d102c108d122e9f2736c014f53d4514ea5", "fetched_at": "2026-08-29T09:56:09.527268+00:00", "kind": "homepage", "missing": false, "url": "https://darkmodejs.learn.uno"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:19.119288+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:19.119288+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T08:16:36.574144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7961648d07a1dc9c6e9abfce54f7629aa76e69e6bd91951207c520e08fc06cbc", "fetched_at": "2026-08-28T04:07:19.119288+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sandoche/Darkmode.js"}, {"content_hash": "7f976c5bb3dc168639b21c6b93d507d102c108d122e9f2736c014f53d4514ea5", "fetched_at": "2026-08-29T09:56:09.527268+00:00", "kind": "homepage", "missing": false, "url": "https://darkmodejs.learn.uno"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:19.119288+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:19.119288+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:19.119288+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T08:16:36.574144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7961648d07a1dc9c6e9abfce54f7629aa76e69e6bd91951207c520e08fc06cbc", "fetched_at": "2026-08-28T04:07:19.119288+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sandoche/Darkmode.js"}, {"content_hash": "7f976c5bb3dc168639b21c6b93d507d102c108d122e9f2736c014f53d4514ea5", "fetched_at": "2026-08-29T09:56:09.527268+00:00", "kind": "homepage", "missing": false, "url": "https://darkmodejs.learn.uno"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:19.119288+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:19.119288+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T08:16:36.574144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7961648d07a1dc9c6e9abfce54f7629aa76e69e6bd91951207c520e08fc06cbc", "fetched_at": "2026-08-28T04:07:19.119288+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sandoche/Darkmode.js"}, {"content_hash": "7f976c5bb3dc168639b21c6b93d507d102c108d122e9f2736c014f53d4514ea5", "fetched_at": "2026-08-29T09:56:09.527268+00:00", "kind": "homepage", "missing": false, "url": "https://darkmodejs.learn.uno"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T08:16:36.574144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7961648d07a1dc9c6e9abfce54f7629aa76e69e6bd91951207c520e08fc06cbc", "fetched_at": "2026-08-28T04:07:19.119288+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sandoche/Darkmode.js"}, {"content_hash": "7f976c5bb3dc168639b21c6b93d507d102c108d122e9f2736c014f53d4514ea5", "fetched_at": "2026-08-29T09:56:09.527268+00:00", "kind": "homepage", "missing": false, "url": "https://darkmodejs.learn.uno"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T08:16:36.574144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7961648d07a1dc9c6e9abfce54f7629aa76e69e6bd91951207c520e08fc06cbc", "fetched_at": "2026-08-28T04:07:19.119288+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sandoche/Darkmode.js"}, {"content_hash": "7f976c5bb3dc168639b21c6b93d507d102c108d122e9f2736c014f53d4514ea5", "fetched_at": "2026-08-29T09:56:09.527268+00:00", "kind": "homepage", "missing": false, "url": "https://darkmodejs.learn.uno"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T08:16:36.574144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7961648d07a1dc9c6e9abfce54f7629aa76e69e6bd91951207c520e08fc06cbc", "fetched_at": "2026-08-28T04:07:19.119288+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sandoche/Darkmode.js"}, {"content_hash": "7f976c5bb3dc168639b21c6b93d507d102c108d122e9f2736c014f53d4514ea5", "fetched_at": "2026-08-29T09:56:09.527268+00:00", "kind": "homepage", "missing": false, "url": "https://darkmodejs.learn.uno"}], "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": 2638, "days_push": 1254, "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}}