{"adoption": {"forks": 51, "observed_at": "2026-08-28T04:05:00.340538+00:00", "stars": 1539}, "canonical_url": "https://ross.abutalabs.com/products/little-state-machine", "card": {"archived": false, "artifact_type": "library", "description": "📠 React custom hook for persist state management", "domain": ["frontend", "web-development"], "enriched": true, "function": ["state-management", "caching"], "health_score": 30, "homepage": "https://lrz5wloklm.csb.app/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["beekai-oss/little-state-machine"], "name": "beekai-oss/little-state-machine", "platform": [], "pushed_at": "2025-01-10T22:02:43+00:00", "repo": "beekai-oss/little-state-machine", "stars": 1539, "tags": ["react-hooks", "flux", "state-machine", "session-storage", "tiny-library", "web-server", "nodejs"], "topics": ["react", "state", "flux", "state-management", "state-machine", "react-hooks"], "urls": [], "use_cases": ["manage global state in a react app with a tiny library", "persist react state across page reloads", "share state between components without redux", "build multi-step forms with persisted state", "optimize re-renders with state selectors"], "what_it_is": "Little State Machine is a tiny (715B gzipped) React hook library for global state management with built-in persistence to sessionStorage or localStorage. It provides a createStore initializer and a useStateMachine hook with actions, selectors, and middleware support.", "when_to_avoid": ["you need devtools, time-travel debugging, or a large ecosystem", "you require complex async middleware or normalized state graphs", "your project is not React-based"], "when_to_choose": ["you want a zero-dependency, sub-kilobyte state solution", "you need automatic state persistence in session or local storage", "you prefer a simple flux-style hook API over heavier libraries"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/little-state-machine", "repo": "beekai-oss/little-state-machine", "role": "main", "score": 34}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.340538+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:30:53.398970+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cadd74bb1cf87cfaec964ac391113dd5744e65e8aaa6155b8ebf62a8c9524949", "fetched_at": "2026-08-28T04:05:00.340538+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beekai-oss/little-state-machine"}, {"content_hash": "e3f43543e979815bdf802c312ad5d751daa3902dd8d6205dceb57792d1c96fea", "fetched_at": "2026-08-29T11:32:34.043077+00:00", "kind": "homepage", "missing": false, "url": "https://lrz5wloklm.csb.app/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.340538+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:30:53.398970+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cadd74bb1cf87cfaec964ac391113dd5744e65e8aaa6155b8ebf62a8c9524949", "fetched_at": "2026-08-28T04:05:00.340538+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beekai-oss/little-state-machine"}, {"content_hash": "e3f43543e979815bdf802c312ad5d751daa3902dd8d6205dceb57792d1c96fea", "fetched_at": "2026-08-29T11:32:34.043077+00:00", "kind": "homepage", "missing": false, "url": "https://lrz5wloklm.csb.app/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:30:53.398970+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cadd74bb1cf87cfaec964ac391113dd5744e65e8aaa6155b8ebf62a8c9524949", "fetched_at": "2026-08-28T04:05:00.340538+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beekai-oss/little-state-machine"}, {"content_hash": "e3f43543e979815bdf802c312ad5d751daa3902dd8d6205dceb57792d1c96fea", "fetched_at": "2026-08-29T11:32:34.043077+00:00", "kind": "homepage", "missing": false, "url": "https://lrz5wloklm.csb.app/"}], "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:05:00.340538+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.340538+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.340538+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:30:53.398970+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cadd74bb1cf87cfaec964ac391113dd5744e65e8aaa6155b8ebf62a8c9524949", "fetched_at": "2026-08-28T04:05:00.340538+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beekai-oss/little-state-machine"}, {"content_hash": "e3f43543e979815bdf802c312ad5d751daa3902dd8d6205dceb57792d1c96fea", "fetched_at": "2026-08-29T11:32:34.043077+00:00", "kind": "homepage", "missing": false, "url": "https://lrz5wloklm.csb.app/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.340538+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.340538+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:30:53.398970+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cadd74bb1cf87cfaec964ac391113dd5744e65e8aaa6155b8ebf62a8c9524949", "fetched_at": "2026-08-28T04:05:00.340538+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beekai-oss/little-state-machine"}, {"content_hash": "e3f43543e979815bdf802c312ad5d751daa3902dd8d6205dceb57792d1c96fea", "fetched_at": "2026-08-29T11:32:34.043077+00:00", "kind": "homepage", "missing": false, "url": "https://lrz5wloklm.csb.app/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.340538+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.340538+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.340538+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:30:53.398970+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cadd74bb1cf87cfaec964ac391113dd5744e65e8aaa6155b8ebf62a8c9524949", "fetched_at": "2026-08-28T04:05:00.340538+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beekai-oss/little-state-machine"}, {"content_hash": "e3f43543e979815bdf802c312ad5d751daa3902dd8d6205dceb57792d1c96fea", "fetched_at": "2026-08-29T11:32:34.043077+00:00", "kind": "homepage", "missing": false, "url": "https://lrz5wloklm.csb.app/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.340538+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.340538+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:30:53.398970+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cadd74bb1cf87cfaec964ac391113dd5744e65e8aaa6155b8ebf62a8c9524949", "fetched_at": "2026-08-28T04:05:00.340538+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beekai-oss/little-state-machine"}, {"content_hash": "e3f43543e979815bdf802c312ad5d751daa3902dd8d6205dceb57792d1c96fea", "fetched_at": "2026-08-29T11:32:34.043077+00:00", "kind": "homepage", "missing": false, "url": "https://lrz5wloklm.csb.app/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:30:53.398970+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cadd74bb1cf87cfaec964ac391113dd5744e65e8aaa6155b8ebf62a8c9524949", "fetched_at": "2026-08-28T04:05:00.340538+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beekai-oss/little-state-machine"}, {"content_hash": "e3f43543e979815bdf802c312ad5d751daa3902dd8d6205dceb57792d1c96fea", "fetched_at": "2026-08-29T11:32:34.043077+00:00", "kind": "homepage", "missing": false, "url": "https://lrz5wloklm.csb.app/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:30:53.398970+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cadd74bb1cf87cfaec964ac391113dd5744e65e8aaa6155b8ebf62a8c9524949", "fetched_at": "2026-08-28T04:05:00.340538+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beekai-oss/little-state-machine"}, {"content_hash": "e3f43543e979815bdf802c312ad5d751daa3902dd8d6205dceb57792d1c96fea", "fetched_at": "2026-08-29T11:32:34.043077+00:00", "kind": "homepage", "missing": false, "url": "https://lrz5wloklm.csb.app/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:30:53.398970+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cadd74bb1cf87cfaec964ac391113dd5744e65e8aaa6155b8ebf62a8c9524949", "fetched_at": "2026-08-28T04:05:00.340538+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beekai-oss/little-state-machine"}, {"content_hash": "e3f43543e979815bdf802c312ad5d751daa3902dd8d6205dceb57792d1c96fea", "fetched_at": "2026-08-29T11:32:34.043077+00:00", "kind": "homepage", "missing": false, "url": "https://lrz5wloklm.csb.app/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 40}, "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": 2704, "days_push": 600, "days_rel": 600, "gap_med": 25, "n_releases_24m": 2}, "score": 34, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}