# Installation

Use the npm command in order to install bh-live-checker module:

```bash
npm install [--save] bh-live-checker
```

# Usage

```js
var bhLive = require('bh-live-checker');
var bhFifoClient = require('bh-fifo-client');

var fifo = new bhFifoClient('./conf/fifo.json');

bhLive.isUp([fifo], 5000)
  .then(function() {
    // Your code here
    fifo.close();
  })
  .catch(function(error) {
    fifo.close();
  })
;

```
