# f-s-m

> A minimal finite state machine (F-S-M) for Javascript.

Latest version **1.0.1** (published 2017-10-29) · 0 weekly downloads

## Install

```sh
npm install f-s-m
pnpm add f-s-m
yarn add f-s-m
bun add f-s-m
```

## 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 | 2017-10-29 |
| First published | 2017-10-29 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Luca Lanziani |
| Maintainers | nss |
| Keywords | fsm, state, machine |

## Links

- npm: https://www.npmjs.com/package/f-s-m
- Repository: https://github.com/lucalanziani/FSM
- Homepage: https://github.com/lucalanziani/FSM#readme
- Issues: https://github.com/lucalanziani/FSM/issues
- npm.io page: https://npm.io/package/f-s-m

## Alternatives

- [@reckona/mreact-store](https://npm.io/package/@reckona/mreact-store.md) — 976 weekly downloads
- [regular-state](https://npm.io/package/regular-state.md) — 410 weekly downloads
- [@pacote/flux-actions](https://npm.io/package/@pacote/flux-actions.md) — 65 weekly downloads
- [@pilotlab/lux-debug](https://npm.io/package/@pilotlab/lux-debug.md) — 39 weekly downloads
- [vue-persist-state](https://npm.io/package/vue-persist-state.md) — 19 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-10-29
- 1.0.0 — 2017-10-29

## README

# Finite State Machine (FSM)

> A minimal finite state machine (FSM) for Javascript.

## Install

**Using npm**

```
npm install --save f-s-m
```

## Building
To build the library you'll need to use Grunt. First install the required node modules ([grunt-cli](http://gruntjs.com/getting-started) must be installed):
```
git clone https://github.com/lucalanziani/FSM.git
cd FSM
npm install
```

Then run `grunt build` to build the project.

## Testing

To test the library you'll need to use Jasmine. First install Jasmine:
```
git clone https://github.com/pivotal/jasmine.git
mkdir FSM/jasmine
mv jasmine/dist/jasmine-standalone-2.0.3.zip FSM/jasmine
cd FSM/jasmine
unzip jasmine-standalone-2.0.3.zip
```

Then open `FSM/SpecRunner.html` in a browser to run the tests.

Alternatively you can use `grunt jasmine` to run the tests from the command line.

---
_Source: https://npm.io/package/f-s-m · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
