{"adoption": {"forks": 221, "observed_at": "2026-08-28T04:06:17.619496+00:00", "stars": 2136}, "canonical_url": "https://ross.abutalabs.com/products/devtools-detect", "card": {"archived": true, "artifact_type": "library", "description": "Detect if DevTools is open and its orientation", "domain": ["developer-tools", "web-development", "browser-extensions"], "enriched": true, "function": ["developer-tools", "browser-extension"], "health_score": 10, "homepage": "https://sindresorhus.com/devtools-detect", "language": "HTML", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["sindresorhus/devtools-detect"], "name": "sindresorhus/devtools-detect", "platform": ["browser"], "pushed_at": "2024-04-23T14:56:36+00:00", "repo": "sindresorhus/devtools-detect", "stars": 2136, "tags": ["devtools", "detection", "browser-api", "javascript", "frontend"], "topics": [], "urls": [], "use_cases": ["detect if devtools is open in the browser", "pause canvas rendering when devtools is open", "show debug styles when devtools is open", "get notified when devtools opens or closes", "check devtools orientation in a react app"], "what_it_is": "A small JavaScript library that detects whether browser DevTools is open and its orientation, emitting a 'devtoolschange' event on changes. It works across Chrome, Safari, Firefox, and Opera DevTools, though the README notes it now suffers from false positives.", "when_to_avoid": ["you need reliable, false-positive-free detection — the README warns browsers changed and detection is now unreliable", "you need to detect undocked DevTools, which is not supported", "you need server-side or non-browser detection"], "when_to_choose": ["you need a lightweight, dependency-free browser-side devtools detection with an event-based API", "you want a quick check of devtools open state or orientation in Chrome, Safari, Firefox, or Opera"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/devtools-detect", "repo": "sindresorhus/devtools-detect", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.619496+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:51:53.439618+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47491dc126d76483ea84836b73d63e683266155eb6dfddd315e3e7cae64360ae", "fetched_at": "2026-08-28T04:06:17.619496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/devtools-detect"}, {"content_hash": "9deef92956f2454691d655abbe44ca2678c310ea753299fa8b1fdb2828d7014d", "fetched_at": "2026-08-29T10:31:49.581552+00:00", "kind": "homepage", "missing": false, "url": "https://sindresorhus.com/devtools-detect"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.619496+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:51:53.439618+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47491dc126d76483ea84836b73d63e683266155eb6dfddd315e3e7cae64360ae", "fetched_at": "2026-08-28T04:06:17.619496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/devtools-detect"}, {"content_hash": "9deef92956f2454691d655abbe44ca2678c310ea753299fa8b1fdb2828d7014d", "fetched_at": "2026-08-29T10:31:49.581552+00:00", "kind": "homepage", "missing": false, "url": "https://sindresorhus.com/devtools-detect"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:51:53.439618+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47491dc126d76483ea84836b73d63e683266155eb6dfddd315e3e7cae64360ae", "fetched_at": "2026-08-28T04:06:17.619496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/devtools-detect"}, {"content_hash": "9deef92956f2454691d655abbe44ca2678c310ea753299fa8b1fdb2828d7014d", "fetched_at": "2026-08-29T10:31:49.581552+00:00", "kind": "homepage", "missing": false, "url": "https://sindresorhus.com/devtools-detect"}], "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:17.619496+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.619496+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.619496+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:51:53.439618+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47491dc126d76483ea84836b73d63e683266155eb6dfddd315e3e7cae64360ae", "fetched_at": "2026-08-28T04:06:17.619496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/devtools-detect"}, {"content_hash": "9deef92956f2454691d655abbe44ca2678c310ea753299fa8b1fdb2828d7014d", "fetched_at": "2026-08-29T10:31:49.581552+00:00", "kind": "homepage", "missing": false, "url": "https://sindresorhus.com/devtools-detect"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.619496+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.619496+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:51:53.439618+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47491dc126d76483ea84836b73d63e683266155eb6dfddd315e3e7cae64360ae", "fetched_at": "2026-08-28T04:06:17.619496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/devtools-detect"}, {"content_hash": "9deef92956f2454691d655abbe44ca2678c310ea753299fa8b1fdb2828d7014d", "fetched_at": "2026-08-29T10:31:49.581552+00:00", "kind": "homepage", "missing": false, "url": "https://sindresorhus.com/devtools-detect"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.619496+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.619496+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.619496+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:51:53.439618+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47491dc126d76483ea84836b73d63e683266155eb6dfddd315e3e7cae64360ae", "fetched_at": "2026-08-28T04:06:17.619496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/devtools-detect"}, {"content_hash": "9deef92956f2454691d655abbe44ca2678c310ea753299fa8b1fdb2828d7014d", "fetched_at": "2026-08-29T10:31:49.581552+00:00", "kind": "homepage", "missing": false, "url": "https://sindresorhus.com/devtools-detect"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.619496+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.619496+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:51:53.439618+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47491dc126d76483ea84836b73d63e683266155eb6dfddd315e3e7cae64360ae", "fetched_at": "2026-08-28T04:06:17.619496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/devtools-detect"}, {"content_hash": "9deef92956f2454691d655abbe44ca2678c310ea753299fa8b1fdb2828d7014d", "fetched_at": "2026-08-29T10:31:49.581552+00:00", "kind": "homepage", "missing": false, "url": "https://sindresorhus.com/devtools-detect"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:51:53.439618+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47491dc126d76483ea84836b73d63e683266155eb6dfddd315e3e7cae64360ae", "fetched_at": "2026-08-28T04:06:17.619496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/devtools-detect"}, {"content_hash": "9deef92956f2454691d655abbe44ca2678c310ea753299fa8b1fdb2828d7014d", "fetched_at": "2026-08-29T10:31:49.581552+00:00", "kind": "homepage", "missing": false, "url": "https://sindresorhus.com/devtools-detect"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:51:53.439618+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47491dc126d76483ea84836b73d63e683266155eb6dfddd315e3e7cae64360ae", "fetched_at": "2026-08-28T04:06:17.619496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/devtools-detect"}, {"content_hash": "9deef92956f2454691d655abbe44ca2678c310ea753299fa8b1fdb2828d7014d", "fetched_at": "2026-08-29T10:31:49.581552+00:00", "kind": "homepage", "missing": false, "url": "https://sindresorhus.com/devtools-detect"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:51:53.439618+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "47491dc126d76483ea84836b73d63e683266155eb6dfddd315e3e7cae64360ae", "fetched_at": "2026-08-28T04:06:17.619496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/devtools-detect"}, {"content_hash": "9deef92956f2454691d655abbe44ca2678c310ea753299fa8b1fdb2828d7014d", "fetched_at": "2026-08-29T10:31:49.581552+00:00", "kind": "homepage", "missing": false, "url": "https://sindresorhus.com/devtools-detect"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4810, "days_push": 862, "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}}