Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

State Machine

npm install @ferrow/state-machine

CI

Define complex workflows declaratively.

const machine = new StateMachine({
  initial: 'idle',
  states: {
    idle: { on: { START: 'running' } },
    running: { on: { PAUSE: 'paused', STOP: 'idle' } },
    paused: { on: { RESUME: 'running' } }
  }
});

Solves: Complex workflow logic, state management, error handling. License: MIT

Sponsored by Ferrow


Part of the ferrow-toolkit collection · Sponsored by Ferrow

About

Lightweight state machine implementation for managing application workflows

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages