Hierarchical state machines implementation in JavaScript heavily inspired by the QP active object framework, see http://www.state-machine.com/. See the README file for details.

The implementation is JavaScript engine agnostic and works both in browsers and in NodeJS.

Features

  • Hierarchical states
  • Statechart can be mixined with an arbitrary object
  • JSON-like description of the state machine
  • Fast
  • Lightweight (4.6KB minified using jsmin)
  • JavaScript engine agnostic (browsers, NodeJS, Narwhal, ...)

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow StatechartJS

StatechartJS Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of StatechartJS!

Additional Project Details

Intended Audience

Developers

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2013-01-19