afsm (npm): automatic finite state machine
Keywords: fsm