Skip to content

woooowoooo/javascript-state-machine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

180 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript State Machine

Personal fork of Jake Gordon's Javascript State Machine, a library for finite state machines.

Changes

  • Removes webpack bloat
  • Modern (after ES5) JS features
    • Breaks compatibility with ES5!
  • Uses ES6 modules instead of CommonJS
    • Exports apply and version directly instead of as properties of StateMachine
    • For the visualize plugin: Exports dotcfg and dotify directly instead of as properties of visualize

module.js Build Steps

My pre-built version is at module.js.

  1. Concatenate util.js, config.js, jsm.js, and app.js.
  2. Remove all imports.
  3. Remove all non-app.js exports.
  4. Comment to taste.

About

A javascript finite state machine library

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%