{"adoption": {"forks": 33, "observed_at": "2026-08-28T04:03:12.570283+00:00", "stars": 1008}, "canonical_url": "https://ross.abutalabs.com/products/tng-hooks", "card": {"archived": true, "artifact_type": "library", "description": "Provides React-inspired 'hooks' like useState(..) for stand-alone functions", "domain": ["web-development", "frontend", "developer-tools"], "enriched": true, "function": ["state-management", "developer-tools"], "health_score": 10, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["getify/TNG-Hooks"], "name": "getify/TNG-Hooks", "platform": ["browser"], "pushed_at": "2022-08-27T15:41:11+00:00", "repo": "getify/TNG-Hooks", "stars": 1008, "tags": ["react-hooks", "standalone-functions", "stateful-functions", "no-framework", "nodejs", "javascript"], "topics": ["state", "react", "hooks"], "urls": [], "use_cases": ["add react-style hooks to plain javascript functions", "manage state in standalone functions without react", "use useState outside of react", "build stateful utility functions with hooks", "share custom hooks logic across non-react code", "model stateful functions for ui rendering without a framework"], "what_it_is": "TNG-Hooks is a small JavaScript library that brings React-inspired hooks like useState, useReducer, and useEffect to plain, standalone functions, creating 'Articulated Functions' with persistent state and side effects. It works independently of React and supports custom hooks.", "when_to_avoid": ["you are building a real React application, where built-in hooks are the better fit", "you need a full state management solution with stores or devtools", "you need a library with frequent updates and active maintenance"], "when_to_choose": ["you want React-like hooks ergonomics in framework-free JavaScript", "you need lightweight stateful functions without pulling in React", "you want to reuse hook patterns in non-UI code"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tng-hooks", "repo": "getify/TNG-Hooks", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:12.570283+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:12:09.312110+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c245c51b237e840ca99b3ec2be84637f645028123f90c6bdcccd940249dc9d82", "fetched_at": "2026-08-28T04:03:12.570283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/TNG-Hooks"}, {"content_hash": "f3032c3d8ad07fa46ed9f61ece5f4373c5d52dbefbbcc09ee64291155cc64f06", "fetched_at": "2026-08-29T13:12:21.001841+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tng-hooks"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:12.570283+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:12:09.312110+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c245c51b237e840ca99b3ec2be84637f645028123f90c6bdcccd940249dc9d82", "fetched_at": "2026-08-28T04:03:12.570283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/TNG-Hooks"}, {"content_hash": "f3032c3d8ad07fa46ed9f61ece5f4373c5d52dbefbbcc09ee64291155cc64f06", "fetched_at": "2026-08-29T13:12:21.001841+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tng-hooks"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:12:09.312110+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c245c51b237e840ca99b3ec2be84637f645028123f90c6bdcccd940249dc9d82", "fetched_at": "2026-08-28T04:03:12.570283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/TNG-Hooks"}, {"content_hash": "f3032c3d8ad07fa46ed9f61ece5f4373c5d52dbefbbcc09ee64291155cc64f06", "fetched_at": "2026-08-29T13:12:21.001841+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tng-hooks"}], "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:03:12.570283+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:12.570283+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:12.570283+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:12:09.312110+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c245c51b237e840ca99b3ec2be84637f645028123f90c6bdcccd940249dc9d82", "fetched_at": "2026-08-28T04:03:12.570283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/TNG-Hooks"}, {"content_hash": "f3032c3d8ad07fa46ed9f61ece5f4373c5d52dbefbbcc09ee64291155cc64f06", "fetched_at": "2026-08-29T13:12:21.001841+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tng-hooks"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:12.570283+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:12.570283+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:12:09.312110+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c245c51b237e840ca99b3ec2be84637f645028123f90c6bdcccd940249dc9d82", "fetched_at": "2026-08-28T04:03:12.570283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/TNG-Hooks"}, {"content_hash": "f3032c3d8ad07fa46ed9f61ece5f4373c5d52dbefbbcc09ee64291155cc64f06", "fetched_at": "2026-08-29T13:12:21.001841+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tng-hooks"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:12.570283+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:12.570283+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:12.570283+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:12:09.312110+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c245c51b237e840ca99b3ec2be84637f645028123f90c6bdcccd940249dc9d82", "fetched_at": "2026-08-28T04:03:12.570283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/TNG-Hooks"}, {"content_hash": "f3032c3d8ad07fa46ed9f61ece5f4373c5d52dbefbbcc09ee64291155cc64f06", "fetched_at": "2026-08-29T13:12:21.001841+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tng-hooks"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:12.570283+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:12.570283+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:12:09.312110+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c245c51b237e840ca99b3ec2be84637f645028123f90c6bdcccd940249dc9d82", "fetched_at": "2026-08-28T04:03:12.570283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/TNG-Hooks"}, {"content_hash": "f3032c3d8ad07fa46ed9f61ece5f4373c5d52dbefbbcc09ee64291155cc64f06", "fetched_at": "2026-08-29T13:12:21.001841+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tng-hooks"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:12:09.312110+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c245c51b237e840ca99b3ec2be84637f645028123f90c6bdcccd940249dc9d82", "fetched_at": "2026-08-28T04:03:12.570283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/TNG-Hooks"}, {"content_hash": "f3032c3d8ad07fa46ed9f61ece5f4373c5d52dbefbbcc09ee64291155cc64f06", "fetched_at": "2026-08-29T13:12:21.001841+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tng-hooks"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:12:09.312110+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c245c51b237e840ca99b3ec2be84637f645028123f90c6bdcccd940249dc9d82", "fetched_at": "2026-08-28T04:03:12.570283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/TNG-Hooks"}, {"content_hash": "f3032c3d8ad07fa46ed9f61ece5f4373c5d52dbefbbcc09ee64291155cc64f06", "fetched_at": "2026-08-29T13:12:21.001841+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tng-hooks"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:12:09.312110+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c245c51b237e840ca99b3ec2be84637f645028123f90c6bdcccd940249dc9d82", "fetched_at": "2026-08-28T04:03:12.570283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/TNG-Hooks"}, {"content_hash": "f3032c3d8ad07fa46ed9f61ece5f4373c5d52dbefbbcc09ee64291155cc64f06", "fetched_at": "2026-08-29T13:12:21.001841+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/tng-hooks"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2849, "days_push": 1467, "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}}