1.0.3 • Published 8 months ago
@apolitical/health v1.0.3
Apolitical Health
Node.js module to expose Apolitical's APIs health checks
Requirements
Requires the following to run:
Installation
Install with yarn
:
yarn add apolitical-health
Usage
The @apolitical/health
module is meant to be used from backends (server-side), no matter is the server is hosting an API or UI.
First of all, include apolitical-health
module:
const { checkHealth } = require('apolitical-health');
The recommended way to use checkHealth
function is:
await checkHealth('people-api');
The first argument is the name of the API you want to check the health status.
And that is it!
1.0.2
10 months ago
1.0.2-beta.0
10 months ago
1.0.3
8 months ago
1.0.1
1 year ago
1.0.0
1 year ago
1.0.0-rc.1
1 year ago
0.2.0
2 years ago
0.2.0-rc.0
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.1-rc.1
2 years ago