Javascript State Machine 3.0 RC1

Tue, Jan 10, 2017

The javascript-state-machine library is having a major rewrite for version 3.0 in order to support more advanced use cases - as well as tidy up some of the existing ones. It is now available as a pre-release candidate for early adopters.


You can install the release candidate using npm:

  npm install --save javascript-state-machine@3.0.0-rc.1


  • Improved Construction.
  • Arbitrary Data and Methods.
  • Observable Transitions
  • Conditional Transitions
  • Promise-based Asynchronous Transitions
  • Improved Transition Lifecycle Events
  • Goto State
  • State History
  • Visualization
  • Webpack build system


Additional documentation is available on github in the v3 branch:


Please note that v3.0 is dual licensed under LGPLv3 for open source projects, while a commercial license is also available.