1.0.1 • Published 5 years ago
node-finite-state-machine v1.0.1
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-machine
History
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.