# Casparcg-state
[![codecov](https://codecov.io/gh/SuperFlyTV/casparcg-state/branch/master/graph/badge.svg)](https://codecov.io/gh/SuperFlyTV/casparcg-state)

This library tracks the state of CasparCG Servers and generates commands to be used in [casparcg-connection](https://github.com/SuperFlyTV/casparcg-connection). 

As an example, this library is used in the [**Sofie** TV News Studio Automation System](https://github.com/nrkno/Sofie-TV-automation/).

## Dev install instructions:

* Install yarn
	https://yarnpkg.com

* Install jest
	yarn global add jest

* Install dependencies
	yarn
	or
	yarn install

Then you can:

* Build:
	yarn build

* run test
	jest

* watch
	yarn watch
