next-state (npm): Simple event-driven state machine
Keywords: finite|state|machine