Stativusis a micro-framework that has full functionality of Statecharts for your application. It can work in any library such as:
Statecharts are a great way to organize your web application and make it more robust and increase code reuse.
Stativuscomes in three versions:
stativus.debug.jsand it is more readable and you get the following
enterStateare documented with 'ENTER: state_name'
exitStateare documented with 'EXIT: state_name
stativus.jsand is a normal version for production use
stativus.min.jsand is a minified version for production use (gzipped: ~3.9k)
A list of all demos can be found at Stativus Demos
Here are a list of resources for learning about state charts (Thanks: Johnny Luu):
Please read the complete API documentation at Stativ.us
Stativus is under the MIT license that can be read in license.js Just remember who brought this to you.
There is a TypeScript declartion file (stativus.d.ts) available for TypeScript users.