contraption (npm): Finite State Machines for node.js and the browser.
Keywords: state machine|fsm