{"adoption": {"forks": 79, "observed_at": "2026-08-28T04:04:33.385232+00:00", "stars": 1377}, "canonical_url": "https://ross.abutalabs.com/products/what-input", "card": {"archived": false, "artifact_type": "library", "description": "A global utility for tracking the current input method (mouse/pointer, keyboard or touch).", "domain": ["web-development", "frontend", "accessibility"], "enriched": true, "function": ["ui-components", "developer-tools"], "health_score": 24, "homepage": "https://ten1seven.github.io/what-input", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["ten1seven/what-input"], "name": "ten1seven/what-input", "platform": ["browser"], "pushed_at": "2025-02-17T22:16:57+00:00", "repo": "ten1seven/what-input", "stars": 1377, "tags": ["input-tracking", "focus-styles", "a11y", "data-attributes", "event-listeners", "javascript"], "topics": [], "urls": [], "use_cases": ["suppress focus rings only for keyboard users", "style form controls differently for mouse vs keyboard vs touch", "detect whether the user is on a touch device", "track input intent across page navigation with session storage", "run callbacks when the input method changes"], "what_it_is": "A small JavaScript utility that tracks the current input method (mouse, keyboard, or touch) by listening to window events and exposing it via data attributes and a simple API. It helps developers style and script interactions differently based on how users are interacting with the page.", "when_to_avoid": ["you need full device or browser detection", "your framework already provides input tracking", "you only need a media-query-based touch check"], "when_to_choose": ["you need to differentiate focus/hover styles by input method", "you want a tiny dependency-free utility for input detection", "you need input method persistence across pages"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/what-input", "repo": "ten1seven/what-input", "role": "main", "score": 26}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.385232+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:40:27.892378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f95c683513346827ecfccffe92a29214b9ee3b6a1725e6ec8250c661a7f69ea3", "fetched_at": "2026-08-28T04:04:33.385232+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ten1seven/what-input"}, {"content_hash": "1914d330b6f1d1a9070059f22854278d4b528f04d2dd2c3d1e7d19808f357fdc", "fetched_at": "2026-08-29T11:56:54.443738+00:00", "kind": "homepage", "missing": false, "url": "https://ten1seven.github.io/what-input"}, {"content_hash": "731fd5a7f8dbc008e9350618fd2aea01f17f0d67cdaa24511ee3a94ce1d98eaf", "fetched_at": "2026-08-29T11:56:54.446654+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/what-input"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.385232+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:40:27.892378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f95c683513346827ecfccffe92a29214b9ee3b6a1725e6ec8250c661a7f69ea3", "fetched_at": "2026-08-28T04:04:33.385232+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ten1seven/what-input"}, {"content_hash": "1914d330b6f1d1a9070059f22854278d4b528f04d2dd2c3d1e7d19808f357fdc", "fetched_at": "2026-08-29T11:56:54.443738+00:00", "kind": "homepage", "missing": false, "url": "https://ten1seven.github.io/what-input"}, {"content_hash": "731fd5a7f8dbc008e9350618fd2aea01f17f0d67cdaa24511ee3a94ce1d98eaf", "fetched_at": "2026-08-29T11:56:54.446654+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/what-input"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:40:27.892378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f95c683513346827ecfccffe92a29214b9ee3b6a1725e6ec8250c661a7f69ea3", "fetched_at": "2026-08-28T04:04:33.385232+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ten1seven/what-input"}, {"content_hash": "1914d330b6f1d1a9070059f22854278d4b528f04d2dd2c3d1e7d19808f357fdc", "fetched_at": "2026-08-29T11:56:54.443738+00:00", "kind": "homepage", "missing": false, "url": "https://ten1seven.github.io/what-input"}, {"content_hash": "731fd5a7f8dbc008e9350618fd2aea01f17f0d67cdaa24511ee3a94ce1d98eaf", "fetched_at": "2026-08-29T11:56:54.446654+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/what-input"}], "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:33.385232+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.385232+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.385232+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:40:27.892378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f95c683513346827ecfccffe92a29214b9ee3b6a1725e6ec8250c661a7f69ea3", "fetched_at": "2026-08-28T04:04:33.385232+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ten1seven/what-input"}, {"content_hash": "1914d330b6f1d1a9070059f22854278d4b528f04d2dd2c3d1e7d19808f357fdc", "fetched_at": "2026-08-29T11:56:54.443738+00:00", "kind": "homepage", "missing": false, "url": "https://ten1seven.github.io/what-input"}, {"content_hash": "731fd5a7f8dbc008e9350618fd2aea01f17f0d67cdaa24511ee3a94ce1d98eaf", "fetched_at": "2026-08-29T11:56:54.446654+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/what-input"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.385232+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.385232+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:40:27.892378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f95c683513346827ecfccffe92a29214b9ee3b6a1725e6ec8250c661a7f69ea3", "fetched_at": "2026-08-28T04:04:33.385232+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ten1seven/what-input"}, {"content_hash": "1914d330b6f1d1a9070059f22854278d4b528f04d2dd2c3d1e7d19808f357fdc", "fetched_at": "2026-08-29T11:56:54.443738+00:00", "kind": "homepage", "missing": false, "url": "https://ten1seven.github.io/what-input"}, {"content_hash": "731fd5a7f8dbc008e9350618fd2aea01f17f0d67cdaa24511ee3a94ce1d98eaf", "fetched_at": "2026-08-29T11:56:54.446654+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/what-input"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.385232+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.385232+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.385232+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:40:27.892378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f95c683513346827ecfccffe92a29214b9ee3b6a1725e6ec8250c661a7f69ea3", "fetched_at": "2026-08-28T04:04:33.385232+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ten1seven/what-input"}, {"content_hash": "1914d330b6f1d1a9070059f22854278d4b528f04d2dd2c3d1e7d19808f357fdc", "fetched_at": "2026-08-29T11:56:54.443738+00:00", "kind": "homepage", "missing": false, "url": "https://ten1seven.github.io/what-input"}, {"content_hash": "731fd5a7f8dbc008e9350618fd2aea01f17f0d67cdaa24511ee3a94ce1d98eaf", "fetched_at": "2026-08-29T11:56:54.446654+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/what-input"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.385232+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.385232+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:40:27.892378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f95c683513346827ecfccffe92a29214b9ee3b6a1725e6ec8250c661a7f69ea3", "fetched_at": "2026-08-28T04:04:33.385232+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ten1seven/what-input"}, {"content_hash": "1914d330b6f1d1a9070059f22854278d4b528f04d2dd2c3d1e7d19808f357fdc", "fetched_at": "2026-08-29T11:56:54.443738+00:00", "kind": "homepage", "missing": false, "url": "https://ten1seven.github.io/what-input"}, {"content_hash": "731fd5a7f8dbc008e9350618fd2aea01f17f0d67cdaa24511ee3a94ce1d98eaf", "fetched_at": "2026-08-29T11:56:54.446654+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/what-input"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:40:27.892378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f95c683513346827ecfccffe92a29214b9ee3b6a1725e6ec8250c661a7f69ea3", "fetched_at": "2026-08-28T04:04:33.385232+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ten1seven/what-input"}, {"content_hash": "1914d330b6f1d1a9070059f22854278d4b528f04d2dd2c3d1e7d19808f357fdc", "fetched_at": "2026-08-29T11:56:54.443738+00:00", "kind": "homepage", "missing": false, "url": "https://ten1seven.github.io/what-input"}, {"content_hash": "731fd5a7f8dbc008e9350618fd2aea01f17f0d67cdaa24511ee3a94ce1d98eaf", "fetched_at": "2026-08-29T11:56:54.446654+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/what-input"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:40:27.892378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f95c683513346827ecfccffe92a29214b9ee3b6a1725e6ec8250c661a7f69ea3", "fetched_at": "2026-08-28T04:04:33.385232+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ten1seven/what-input"}, {"content_hash": "1914d330b6f1d1a9070059f22854278d4b528f04d2dd2c3d1e7d19808f357fdc", "fetched_at": "2026-08-29T11:56:54.443738+00:00", "kind": "homepage", "missing": false, "url": "https://ten1seven.github.io/what-input"}, {"content_hash": "731fd5a7f8dbc008e9350618fd2aea01f17f0d67cdaa24511ee3a94ce1d98eaf", "fetched_at": "2026-08-29T11:56:54.446654+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/what-input"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:40:27.892378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f95c683513346827ecfccffe92a29214b9ee3b6a1725e6ec8250c661a7f69ea3", "fetched_at": "2026-08-28T04:04:33.385232+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ten1seven/what-input"}, {"content_hash": "1914d330b6f1d1a9070059f22854278d4b528f04d2dd2c3d1e7d19808f357fdc", "fetched_at": "2026-08-29T11:56:54.443738+00:00", "kind": "homepage", "missing": false, "url": "https://ten1seven.github.io/what-input"}, {"content_hash": "731fd5a7f8dbc008e9350618fd2aea01f17f0d67cdaa24511ee3a94ce1d98eaf", "fetched_at": "2026-08-29T11:56:54.446654+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/what-input"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 7, "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": 4185, "days_push": 562, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 26, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}