# eyeos-service-ready-notify

> notifies when a service is ready

Latest version **0.0.31** (published 2016-06-13) · AGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install eyeos-service-ready-notify
pnpm add eyeos-service-ready-notify
yarn add eyeos-service-ready-notify
bun add eyeos-service-ready-notify
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.31 |
| Published | 2016-06-13 |
| First published | 2016-05-12 |
| Weekly downloads | 0 |
| License | AGPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | eyeOS |
| Maintainers | eyeos |

## Links

- npm: https://www.npmjs.com/package/eyeos-service-ready-notify
- Homepage: http://www.eyeos.com/
- npm.io page: https://npm.io/package/eyeos-service-ready-notify

## Dependencies (2)

- [native-dns](https://npm.io/package/native-dns.md) 0.7.0
- [node-request-retry](https://npm.io/package/node-request-retry.md) 1.0.0

## Recent versions

- 0.0.31 (latest) — 2016-06-13
- 0.0.30 — 2016-06-13
- 0.0.29 — 2016-06-10
- 0.0.28 — 2016-05-20
- 0.0.27 — 2016-05-12
- 0.0.25 — 2016-05-12

## README

Service Ready Notifier Library
==============================

## Overview

This library can be used to notify(to consul for example) when a service is ready.

## How to use it

Websockify for example:

```javascript
var Notifier = require('eyeos-service-ready-notify');

this.notifier = new Notifier();
this.notifier.registerService('websockify123','websockify', '192.168.1.2', '8010', function(res){
	if(res){
		console.log('success');
	} else {
		console.log('error: ', res);
	}
});
```

## Quick help

* Install modules

```bash
	$ npm install
```

* Check tests

```bash
    $ grunt test
    $ npm test
```

---
_Source: https://npm.io/package/eyeos-service-ready-notify · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
