<commit_before># Javascript State Machine

[![NPM version](https://img.shields.io/npm/v/javascript-state-machine.svg?style=flat)](https://www.npmjs.org/package/javascript-state-machine)
[![Build Status](https://travis-ci.org/jakesgordon/javascript-state-machine.svg?branch=master)](https://travis-ci.org/jakesgordon/javascript-state-machine)

A library for finite state machines.

![matter state machine](examples/matter.png)

<br>

### NOTE for existing users

> **VERSION 3.0** Is a significant rewrite from earlier versions.
  Existing 2.x users should be sure to read the [Upgrade Guide](docs/upgrading-from-v2.md).

<br>
<commit_msg>added note to README to indicate this is for v3.0.0-rc.1<commit_after># Javascript State Machine

<br>
> **IMPORTANT**: This is documentation for pre-release version **3.0.0-rc.1**

[![Build Status](https://travis-ci.org/jakesgordon/javascript-state-machine.svg?branch=v3)](https://travis-ci.org/jakesgordon/javascript-state-machine)

<!--
[![NPM version](https://img.shields.io/npm/v/javascript-state-machine.svg?style=flat)](https://www.npmjs.org/package/javascript-state-machine)
[![Build Status](https://travis-ci.org/jakesgordon/javascript-state-machine.svg?branch=master)](https://travis-ci.org/jakesgordon/javascript-state-machine)
-->

A library for finite state machines.

![matter state machine](examples/matter.png)

<br>

### NOTE for existing users

> **VERSION 3.0** Is a significant rewrite from earlier versions.
  Existing 2.x users should be sure to read the [Upgrade Guide](docs/upgrading-from-v2.md).

<br>

{'fraction_non_alphanumeric': 0.16102236421725238, 'fraction_numerical': 0.010862619808306708, 'mean_word_length': 5.1171875, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 12, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6969891', 'n_tokens_mistral': 541, 'n_tokens_neox': 518, 'n_words': 106}