Skip to main content

Developer Quickstart

Overview

MState is a library designed to automate workflows by managing state transitions and actions efficiently. It enables developers to create state machines, which are useful for defining and controlling the various states an object or process can pass through, especially in complex workflows.

Prerequisites

Node JS

Version 20 or greater Download the latest Node.js

Version 1 or greater

npm i mstate-cli@latest -g

Things to know

  • Each executed workflow operates within its own isolated environment, known as an Instance, ensuring task separation and independent execution.
  • You can perform only the manual actions specified in the current state of the workflow instance.

Questions