@fabiospampinato/hsm (npm): Hierarchical State Machine implementation, with support for guards and enter/exit events.
Keywords: hsm|hierarchical|automaton