0.0.2 • Published 7 years ago

ng2-healthcheck v0.0.2

Weekly downloads
26
License
MIT
Repository
github
Last release
7 years ago

ng2-healthcheck

angular2 health check ping module using svg animations

Demo gif

npm.io

Prerequisite

Setup a working angular-2 project using one of the following:

Install ng2-healthcheck

$ npm install ng2-healthcheck --save

Usage

Import HealthCheckModule in app module

import { HealthCheckModule } from 'ng2-healthcheck';

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

Use health-check selector inside app template

<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

The MIT License (MIT)