{"adoption": {"forks": 457, "observed_at": "2026-08-28T04:10:07.402091+00:00", "stars": 7851}, "canonical_url": "https://ross.abutalabs.com/products/usehooks-ts", "card": {"archived": false, "artifact_type": "library", "description": "React hook library, ready to use, written in Typescript.", "domain": ["frontend", "web-development", "developer-tools"], "enriched": true, "function": ["ui-components", "state-management", "developer-tools"], "health_score": 91, "homepage": "https://usehooks-ts.com", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["juliencrn/usehooks-ts"], "name": "juliencrn/usehooks-ts", "platform": ["cross-platform"], "pushed_at": "2026-08-26T13:44:59+00:00", "repo": "juliencrn/usehooks-ts", "stars": 7851, "tags": ["react-hooks", "typescript", "tree-shakable", "react", "hooks-library", "nextjs", "nodejs", "web-server"], "topics": ["typescript", "react", "react-hooks", "mdx", "hooks", "reactjs", "hook", "nextjs", "react-hook"], "urls": [], "use_cases": ["sync react state with localstorage", "debounce a value or callback in react", "implement dark mode toggle in react", "detect clicks outside a component", "track window size in react", "copy text to clipboard in react", "run interval or timeout hooks in react"], "what_it_is": "usehooks-ts is a collection of ready-to-use React hooks written in TypeScript, covering common needs like localStorage, debounce, dark mode, event listeners, and media queries. It is dependency-free, fully tree-shakable, and extensively tested for production use.", "when_to_avoid": ["your project does not use React", "you need only one or two hooks and prefer inlining them to avoid a dependency", "you need highly specialized hooks not covered by the library"], "when_to_choose": ["you build React or Next.js apps and want typed, tested hooks for common patterns", "you want a tiny, tree-shakable hook library with zero dependencies", "you want to avoid rewriting boilerplate hooks like useLocalStorage or useDebounce"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/usehooks-ts", "repo": "juliencrn/usehooks-ts", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:07.402091+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:33:49.278811+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b3d7b769514516515168f58946906cbb971ac2a078a9daeee1fc6edcd63372f", "fetched_at": "2026-08-28T04:10:07.402091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juliencrn/usehooks-ts"}, {"content_hash": "e5f21049dbb6a3d638437c4985dee1e225ccbd9df930ab9e4a406322e5aee66d", "fetched_at": "2026-08-29T08:30:41.407413+00:00", "kind": "homepage", "missing": false, "url": "https://usehooks-ts.com"}, {"content_hash": "111aa3702e6759512de36798d9c4a679f3115a3b9fc5a51650c71f42dd31ba5a", "fetched_at": "2026-08-29T08:30:41.418106+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/usehooks-ts"}, {"content_hash": "dd7d4a96f08458ec017e56c391dd6d93d6cd15c682a91d8eb4f7b677969e478b", "fetched_at": "2026-08-29T08:30:41.416275+00:00", "kind": "site_page", "missing": false, "url": "https://usehooks-ts.com/introduction"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:07.402091+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:33:49.278811+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b3d7b769514516515168f58946906cbb971ac2a078a9daeee1fc6edcd63372f", "fetched_at": "2026-08-28T04:10:07.402091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juliencrn/usehooks-ts"}, {"content_hash": "e5f21049dbb6a3d638437c4985dee1e225ccbd9df930ab9e4a406322e5aee66d", "fetched_at": "2026-08-29T08:30:41.407413+00:00", "kind": "homepage", "missing": false, "url": "https://usehooks-ts.com"}, {"content_hash": "111aa3702e6759512de36798d9c4a679f3115a3b9fc5a51650c71f42dd31ba5a", "fetched_at": "2026-08-29T08:30:41.418106+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/usehooks-ts"}, {"content_hash": "dd7d4a96f08458ec017e56c391dd6d93d6cd15c682a91d8eb4f7b677969e478b", "fetched_at": "2026-08-29T08:30:41.416275+00:00", "kind": "site_page", "missing": false, "url": "https://usehooks-ts.com/introduction"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:33:49.278811+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b3d7b769514516515168f58946906cbb971ac2a078a9daeee1fc6edcd63372f", "fetched_at": "2026-08-28T04:10:07.402091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juliencrn/usehooks-ts"}, {"content_hash": "e5f21049dbb6a3d638437c4985dee1e225ccbd9df930ab9e4a406322e5aee66d", "fetched_at": "2026-08-29T08:30:41.407413+00:00", "kind": "homepage", "missing": false, "url": "https://usehooks-ts.com"}, {"content_hash": "111aa3702e6759512de36798d9c4a679f3115a3b9fc5a51650c71f42dd31ba5a", "fetched_at": "2026-08-29T08:30:41.418106+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/usehooks-ts"}, {"content_hash": "dd7d4a96f08458ec017e56c391dd6d93d6cd15c682a91d8eb4f7b677969e478b", "fetched_at": "2026-08-29T08:30:41.416275+00:00", "kind": "site_page", "missing": false, "url": "https://usehooks-ts.com/introduction"}], "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:10:07.402091+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:07.402091+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:07.402091+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:33:49.278811+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b3d7b769514516515168f58946906cbb971ac2a078a9daeee1fc6edcd63372f", "fetched_at": "2026-08-28T04:10:07.402091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juliencrn/usehooks-ts"}, {"content_hash": "e5f21049dbb6a3d638437c4985dee1e225ccbd9df930ab9e4a406322e5aee66d", "fetched_at": "2026-08-29T08:30:41.407413+00:00", "kind": "homepage", "missing": false, "url": "https://usehooks-ts.com"}, {"content_hash": "111aa3702e6759512de36798d9c4a679f3115a3b9fc5a51650c71f42dd31ba5a", "fetched_at": "2026-08-29T08:30:41.418106+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/usehooks-ts"}, {"content_hash": "dd7d4a96f08458ec017e56c391dd6d93d6cd15c682a91d8eb4f7b677969e478b", "fetched_at": "2026-08-29T08:30:41.416275+00:00", "kind": "site_page", "missing": false, "url": "https://usehooks-ts.com/introduction"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:07.402091+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:07.402091+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:33:49.278811+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b3d7b769514516515168f58946906cbb971ac2a078a9daeee1fc6edcd63372f", "fetched_at": "2026-08-28T04:10:07.402091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juliencrn/usehooks-ts"}, {"content_hash": "e5f21049dbb6a3d638437c4985dee1e225ccbd9df930ab9e4a406322e5aee66d", "fetched_at": "2026-08-29T08:30:41.407413+00:00", "kind": "homepage", "missing": false, "url": "https://usehooks-ts.com"}, {"content_hash": "111aa3702e6759512de36798d9c4a679f3115a3b9fc5a51650c71f42dd31ba5a", "fetched_at": "2026-08-29T08:30:41.418106+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/usehooks-ts"}, {"content_hash": "dd7d4a96f08458ec017e56c391dd6d93d6cd15c682a91d8eb4f7b677969e478b", "fetched_at": "2026-08-29T08:30:41.416275+00:00", "kind": "site_page", "missing": false, "url": "https://usehooks-ts.com/introduction"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:07.402091+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:07.402091+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:07.402091+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:33:49.278811+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b3d7b769514516515168f58946906cbb971ac2a078a9daeee1fc6edcd63372f", "fetched_at": "2026-08-28T04:10:07.402091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juliencrn/usehooks-ts"}, {"content_hash": "e5f21049dbb6a3d638437c4985dee1e225ccbd9df930ab9e4a406322e5aee66d", "fetched_at": "2026-08-29T08:30:41.407413+00:00", "kind": "homepage", "missing": false, "url": "https://usehooks-ts.com"}, {"content_hash": "111aa3702e6759512de36798d9c4a679f3115a3b9fc5a51650c71f42dd31ba5a", "fetched_at": "2026-08-29T08:30:41.418106+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/usehooks-ts"}, {"content_hash": "dd7d4a96f08458ec017e56c391dd6d93d6cd15c682a91d8eb4f7b677969e478b", "fetched_at": "2026-08-29T08:30:41.416275+00:00", "kind": "site_page", "missing": false, "url": "https://usehooks-ts.com/introduction"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:07.402091+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:07.402091+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:33:49.278811+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b3d7b769514516515168f58946906cbb971ac2a078a9daeee1fc6edcd63372f", "fetched_at": "2026-08-28T04:10:07.402091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juliencrn/usehooks-ts"}, {"content_hash": "e5f21049dbb6a3d638437c4985dee1e225ccbd9df930ab9e4a406322e5aee66d", "fetched_at": "2026-08-29T08:30:41.407413+00:00", "kind": "homepage", "missing": false, "url": "https://usehooks-ts.com"}, {"content_hash": "111aa3702e6759512de36798d9c4a679f3115a3b9fc5a51650c71f42dd31ba5a", "fetched_at": "2026-08-29T08:30:41.418106+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/usehooks-ts"}, {"content_hash": "dd7d4a96f08458ec017e56c391dd6d93d6cd15c682a91d8eb4f7b677969e478b", "fetched_at": "2026-08-29T08:30:41.416275+00:00", "kind": "site_page", "missing": false, "url": "https://usehooks-ts.com/introduction"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:33:49.278811+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b3d7b769514516515168f58946906cbb971ac2a078a9daeee1fc6edcd63372f", "fetched_at": "2026-08-28T04:10:07.402091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juliencrn/usehooks-ts"}, {"content_hash": "e5f21049dbb6a3d638437c4985dee1e225ccbd9df930ab9e4a406322e5aee66d", "fetched_at": "2026-08-29T08:30:41.407413+00:00", "kind": "homepage", "missing": false, "url": "https://usehooks-ts.com"}, {"content_hash": "111aa3702e6759512de36798d9c4a679f3115a3b9fc5a51650c71f42dd31ba5a", "fetched_at": "2026-08-29T08:30:41.418106+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/usehooks-ts"}, {"content_hash": "dd7d4a96f08458ec017e56c391dd6d93d6cd15c682a91d8eb4f7b677969e478b", "fetched_at": "2026-08-29T08:30:41.416275+00:00", "kind": "site_page", "missing": false, "url": "https://usehooks-ts.com/introduction"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:33:49.278811+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b3d7b769514516515168f58946906cbb971ac2a078a9daeee1fc6edcd63372f", "fetched_at": "2026-08-28T04:10:07.402091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juliencrn/usehooks-ts"}, {"content_hash": "e5f21049dbb6a3d638437c4985dee1e225ccbd9df930ab9e4a406322e5aee66d", "fetched_at": "2026-08-29T08:30:41.407413+00:00", "kind": "homepage", "missing": false, "url": "https://usehooks-ts.com"}, {"content_hash": "111aa3702e6759512de36798d9c4a679f3115a3b9fc5a51650c71f42dd31ba5a", "fetched_at": "2026-08-29T08:30:41.418106+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/usehooks-ts"}, {"content_hash": "dd7d4a96f08458ec017e56c391dd6d93d6cd15c682a91d8eb4f7b677969e478b", "fetched_at": "2026-08-29T08:30:41.416275+00:00", "kind": "site_page", "missing": false, "url": "https://usehooks-ts.com/introduction"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:33:49.278811+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5b3d7b769514516515168f58946906cbb971ac2a078a9daeee1fc6edcd63372f", "fetched_at": "2026-08-28T04:10:07.402091+00:00", "kind": "readme", "missing": false, "url": "https://github.com/juliencrn/usehooks-ts"}, {"content_hash": "e5f21049dbb6a3d638437c4985dee1e225ccbd9df930ab9e4a406322e5aee66d", "fetched_at": "2026-08-29T08:30:41.407413+00:00", "kind": "homepage", "missing": false, "url": "https://usehooks-ts.com"}, {"content_hash": "111aa3702e6759512de36798d9c4a679f3115a3b9fc5a51650c71f42dd31ba5a", "fetched_at": "2026-08-29T08:30:41.418106+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/usehooks-ts"}, {"content_hash": "dd7d4a96f08458ec017e56c391dd6d93d6cd15c682a91d8eb4f7b677969e478b", "fetched_at": "2026-08-29T08:30:41.416275+00:00", "kind": "site_page", "missing": false, "url": "https://usehooks-ts.com/introduction"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "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": 2331, "days_push": 7, "days_rel": 574, "gap_med": null, "n_releases_24m": 1}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}