matthewp/robot
🤖 A functional, immutable Finite State Machine library observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 99
- Release rhythm 59
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 2550
- days_rel: 278
- days_push: 11
- n_releases_24m: 18
Adoption not part of the score
2197 stars · 97 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Robot (robot3) is a small (~1KB) functional and immutable finite state machine library for JavaScript. It brings declarative state management to UI applications with integrations for React, Preact, Haunted, and other frameworks.
Use cases
- manage complex UI state with finite state machines
- model toggle, loading, and async states declaratively
- prevent invalid states in frontend components
- use a state machine with React or Preact via hooks
- handle async invocations and context in application state
- replace boolean flags with explicit state transitions
When to choose
- you want a tiny, dependency-free state machine library
- you prefer a functional API over options objects
- you need declarative state management for UI components
- you use React, Preact, or Haunted and want machine integration
When to avoid
- you need a full-featured statechart solution with actors and hierarchical states
- your team prefers Redux-style global stores
- you need server-side or non-JavaScript state machine tooling
Facets
library · maturity stable
state-management web-framework frontend web-development developer-tools browser finite-state-machine immutable functional tiny-footprint react-integration preact-integration nodejs javascript
3 sources
- readme: https://github.com/matthewp/robot · fetched 2026-08-28 · dce7aa42b36e
- homepage: https://regularhuman.dev · fetched 2026-08-29 · c98f2d1cd5d3
- site_page: https://regularhuman.dev/docs · fetched 2026-08-29 · 6efb0d6e6b34
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| matthewp/robot | main | 85 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem