# ngx-alive

> ## Usage This library add visual Component using Angular Material in your Angular Project.

Latest version **0.0.12** (published 2019-04-15) · 0 weekly downloads

## Install

```sh
npm install ngx-alive
pnpm add ngx-alive
yarn add ngx-alive
bun add ngx-alive
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.12 |
| Published | 2019-04-15 |
| First published | 2019-04-08 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 247.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | polspock |
| Keywords | angular, material, checker |

## Links

- npm: https://www.npmjs.com/package/ngx-alive
- Repository: https://github.com/PolSpock/ngx-alive
- Homepage: https://github.com/PolSpock/ngx-alive#readme
- Issues: https://github.com/PolSpock/ngx-alive/issues
- npm.io page: https://npm.io/package/ngx-alive

## Dependencies (2)

- [tslib](https://npm.io/package/tslib.md) ^1.9.0
- [is-url](https://npm.io/package/is-url.md) ^1.2.4

## Recent versions

- 0.0.12 (latest) — 2019-04-15
- 0.0.11 — 2019-04-15
- 0.0.10 — 2019-04-15
- 0.0.9 — 2019-04-10
- 0.0.8 — 2019-04-10
- 0.0.7 — 2019-04-09
- 0.0.6 — 2019-04-09
- 0.0.5 — 2019-04-08
- 0.0.4 — 2019-04-08
- 0.0.3 — 2019-04-08
- 0.0.2 — 2019-04-08
- 0.0.1 — 2019-04-08

## README

# NgxAlive

## Usage
This library add visual Component using Angular Material in your Angular Project.

He checks the web services provided in params and display colors to inform if the services are alive or not.
(Currently in french only)

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.1.10.

## Example
Add this line to your component to implement this component :

    <lib-ngx-alive [urlsParams]="[{url: 'https://www.google.com/', libelle: 'google', description:'the main service', priority: 3 }, {url: 'https://jsonplaceholder.typicode.com/todos/1', libelle: 'APITester', description: 'tester', priority: 1}]" [supportMail]="'dofus@dofus.com'" [checkInterval]="1"></lib-ngx-alive>

## Params
1. [urlsParams] = Array of URLs to check (default ''). Must be an array and can implement properties per object :

		url - the http url
		libelle - the short name for human reading
		description - short description of the service
		priority - number, low to hight priority

	Example :

	    { url: 'https://www.google.com/', libelle: 'google', description:'the main service', priority: 3 }

2. [supportMail] = String of email to contact in case of problem (default '')
3. [checkInterval] = Number (in minute) between each check from urls params (default 5)

## Peer Dependencies
"@angular/common": "^6.1.10",
"@angular/core": "^6.1.10",
"@angular/material": "^6.4.7"

## Running unit tests
Run `ng test ngxAlive` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

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