state-machine (npm): An expressive, feature-rich, event-driven JavaScript finite-state machine
Keywords: statemachine|fsm|state