https://github.com/fsmoothy/fsmoothy
FSMoothy: Your strongly-typed Finite State Machine, battery-packed and ready to roll!
https://github.com/fsmoothy/fsmoothy
finite-state-machine fsm javascript state-machine state-machine-diagram state-machine-dsl typescript
Last synced: about 1 month ago
JSON representation
FSMoothy: Your strongly-typed Finite State Machine, battery-packed and ready to roll!
- Host: GitHub
- URL: https://github.com/fsmoothy/fsmoothy
- Owner: fsmoothy
- License: mit
- Created: 2023-09-01T15:43:08.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-13T21:53:06.000Z (3 months ago)
- Last Synced: 2025-03-10T13:15:54.455Z (about 1 month ago)
- Topics: finite-state-machine, fsm, javascript, state-machine, state-machine-diagram, state-machine-dsl, typescript
- Language: TypeScript
- Homepage: https://fsmoothy.github.io/fsmoothy/
- Size: 1.59 MB
- Stars: 27
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](http://commitizen.github.io/cz-cli/) [](https://codeclimate.com/github/fsmoothy/fsmoothy/maintainability) [](https://codeclimate.com/github/fsmoothy/fsmoothy/test_coverage)
`fsmoothy` is a totally pragmatic library for building state machines.
## Features
- TypeScript native
- Hooks for state transitions
- Promises are used for all transition
- Magic methods for checkers, events and transitions
- Simple and powerful API
- Use it in browser or Node.js## Libraries and tools
- [Core](https://github.com/fsmoothy/fsmoothy/tree/master/packages/core)
- [TypeORM integration](https://github.com/fsmoothy/fsmoothy/tree/master/packages/typeorm)
- [Graphviz renderer](https://github.com/fsmoothy/fsmoothy/tree/master/packages/graphviz)