basic-state-machine (npm): a lightweight, basic finite-state-machine
Keywords: finite-state-machine|automata|lightweight|versatile|component-from-stream|reduce|with-event-handlers