A small finite state machine library for JavaScript: declare states and transitions, hook into lifecycle events, and draw the machine with GraphViz. The zip...
Licence: MIT. Source: GitHub.
Read it on Gaming World