# node-finite-state-machine

> This is a nodejs version of finite state machine which try to create/convert an object into a finite state machine

Latest version **1.0.1** (published 2019-01-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-finite-state-machine
pnpm add node-finite-state-machine
yarn add node-finite-state-machine
bun add node-finite-state-machine
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-01-02 |
| First published | 2018-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 33.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Cloudgen Wong |
| Maintainers | cloudgen |
| Keywords | finite state machine, state machine, server |

## Links

- npm: https://www.npmjs.com/package/node-finite-state-machine
- Repository: https://github.com/cloudgen/node-finite-state-machine
- Issues: https://github.com/cloudgen/node-finite-state-machine/issues
- npm.io page: https://npm.io/package/node-finite-state-machine

## Recent versions

- 1.0.1 (latest) — 2019-01-02
- 1.0.0 — 2018-12-20

## 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:
```bash
npm i node-finite-state-machine
```

# History

library for finite state machines. This project has been modified from [Javascript State Machine](https://github.com/jakesgordon/javascript-state-machine) with the following changes:

1. Remove all the front-end code.
1. Rewrite camelize to use cached regex.
1. Restructure file locations
1. Rewrite FSM, Config in to classes.
1. Add persistence plugin.
1. History plugin support persistence.
1. Add support to ENUM
1. Add History and Persistence as "builtin" plugins.
1. Add reset() and setState() functions (required by persistence plugin).
1. Add "change" event for plugins.
1. Add createTime and updateTime properties
1. History plugin support timestamps.

---
_Source: https://npm.io/package/node-finite-state-machine · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
