1.0.4 • Published 11 months ago
@apolitical/health v1.0.4
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-healthUsage
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.4
11 months ago
1.0.2
2 years ago
1.0.2-beta.0
2 years ago
1.0.3
2 years ago
1.0.1
3 years ago
1.0.0
3 years ago
1.0.0-rc.1
3 years ago
0.2.0
3 years ago
0.2.0-rc.0
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago
0.0.1-rc.1
3 years ago