node-finite-state-machine
v1.0.1
Published
This is a nodejs version of finite state machine which try to create/convert an object into a finite state machine
Maintainers
Readme
Node Finite State Machine
You can find the package in: https://www.npmjs.com/package/node-finite-state-machine
-- OR -- using the following command to install:
npm i node-finite-state-machineHistory
library for finite state machines. This project has been modified from Javascript State Machine with the following changes:
- Remove all the front-end code.
- Rewrite camelize to use cached regex.
- Restructure file locations
- Rewrite FSM, Config in to classes.
- Add persistence plugin.
- History plugin support persistence.
- Add support to ENUM
- Add History and Persistence as "builtin" plugins.
- Add reset() and setState() functions (required by persistence plugin).
- Add "change" event for plugins.
- Add createTime and updateTime properties
- History plugin support timestamps.
