Introduction

What is Hine?

Hine is a JavaScript library for building state machines. At its core, it is a set of functions that can be composed to model the behaviour of your application as a state machine.

What are state machines?

State machines describe whether and how a program should transition from one state to another in response to an event. A state machine specifies all states of a program, the transitions between them, as well as all the events that cause those transitions. It simplifies programs that have complex control flow, ultimately supercharging your ability to reason about your code.

Next Steps

  • Installation - Install Hine using your preferred package manager

  • Examples - Concrete examples demonstrating Hine usage