1.0.0 • Published 7 years ago

apihealthcheck v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

API Health Check

Simple and highly customisable JSON health check builder.

  npm install apihealthcheck --save
  yarn add apihealthcheck

Teams using this package:

var status = require('apihealthcheck');

var results = status({
  "name": "some-app",
  "checks": [
    {
      "name": "Yahoo",
      "url" : "http://yahoo.com"
    },
    {
      "name": "Google",
      "url" : "http://google.com"
    }
  ]

}).then( function(data) {
  // {JSON data}
});