What is it? @delbio/automata is a finite-state machine (FSM) engine for Node.js and the browser. Installation You can install Stately.js with npm: $ npm install @delbio/automata or yarn $ yarn add @delbio/automata Usage you can see an example into automata-examples repository jsfiddle