/mvp-machine

Simple, declarative-ish Typescript state machines

Primary LanguageTypeScriptISC LicenseISC

mvp-machine

Simple, declarative-ish <1kB Typescript state machines inspired by statecharts.

handles :

  • actions
  • automatic transitions
  • nested/compound states
  • self transitions
  • internal transitions
  • state entry/exit events

does not handle :

  • parallel states
  • internal transitions to children compound states