HFSM Core
Hierarchical Finite State Machine – Embeddable Library
The @statewalker/fsm
core library provides a simple and concise API to define processes as a series of transitions between individual states, with the ability to associate specific behaviors to state activations and deactivations.
- Getting Started – Create your first state machine using the low-level API.
- API – Explore the complete API surface.
- GitHub: Source code – Explore the library implementation.
Some features:
- Completely self-contained library
- No external runtime dependencies
- Minimal bundle size impact
- Written in TypeScript
- Works with any JavaScript environment – browser, Node.js and Deno compatible