node-statemachine (npm): Interruptible and repeatable state machines.
Keywords: state|machine|automata|co|interruptible