synchronous-fsm (npm): A synchronous FSM that triggers events when entering or leaving a state
Keywords: state|states|statemachine|machine|fsm|finite|transtion|transitions