# ng2-healthcheck

> angular2 health check ping module using svg animations

Latest version **0.0.2** (published 2016-11-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install ng2-healthcheck
pnpm add ng2-healthcheck
yarn add ng2-healthcheck
bun add ng2-healthcheck
```

## 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.2 |
| Published | 2016-11-25 |
| First published | 2016-11-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Known vulnerabilities | 0 (+21 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Raja Sharan Mamidala |
| Maintainers | rajasharan |

## Links

- npm: https://www.npmjs.com/package/ng2-healthcheck
- Repository: https://github.com/rajasharan/ng2-healthcheck
- Issues: https://github.com/rajasharan/ng2-healthcheck/issues
- npm.io page: https://npm.io/package/ng2-healthcheck

## Dependencies (12)

- [rxjs](https://npm.io/package/rxjs.md) 5.0.0-beta.12
- [core-js](https://npm.io/package/core-js.md) ^2.4.1
- [zone.js](https://npm.io/package/zone.js.md) ^0.6.23
- [ts-helpers](https://npm.io/package/ts-helpers.md) ^1.1.1
- [@angular/core](https://npm.io/package/@angular/core.md) ^2.1.0
- [@angular/http](https://npm.io/package/@angular/http.md) ^2.1.0
- [@angular/forms](https://npm.io/package/@angular/forms.md) ^2.1.0
- [@angular/common](https://npm.io/package/@angular/common.md) ^2.1.0
- [@angular/router](https://npm.io/package/@angular/router.md) ^3.1.0
- [@angular/compiler](https://npm.io/package/@angular/compiler.md) ^2.1.0
- [@angular/platform-browser](https://npm.io/package/@angular/platform-browser.md) ^2.1.0
- [@angular/platform-browser-dynamic](https://npm.io/package/@angular/platform-browser-dynamic.md) ^2.1.0

## Recent versions

- 0.0.2 (latest) — 2016-11-25
- 0.0.1 — 2016-11-25

## README

# ng2-healthcheck
angular2 health check ping module using svg animations

## Demo gif
![](./demo.gif)

## Prerequisite
Setup a working angular-2 project using one of the following:
* [angular-cli](https://github.com/angular/angular-cli)
* [angular2 quickstart](https://angular.io/docs/ts/latest/quickstart.html)

## Install `ng2-healthcheck `
```sh
$ npm install ng2-healthcheck --save
```

## Usage
Import `HealthCheckModule` in app module
```ts
import { HealthCheckModule } from 'ng2-healthcheck';

@NgModule({
  imports: [
    HealthCheckModule,
    ...
  ]
})
export class AppModule { }
```

Use `health-check` selector inside app template
```html
<health-check 
    title="Main Site" 
    pingIntervalMilli="3000" 
    pingUrl="/index.html">
</health-check>
```

This will ping `/index.html` every 3 secs and report the status

### [License](/LICENSE)
The MIT License (MIT)

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