jssm
A Javascript finite state machine (FSM) with a terse DSL and a simple API. Most FSMs are one-liners. Fast, easy, powerful, well tested, typed with TypeScript, and visualizations. MIT License.
js-fsm
Javascript Moore finite state machine with multiple inputs & outputs
lib-fsm
Typescript library to create finite state machine