pathstate.js (npm): A lightweight path-based hierarchical state machine
Keywords: state machine|fsm|hierarchical|workflow|state