New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@apolitical/health

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apolitical/health

Node.js module to expose Apolitical's APIs health checks

latest
npmnpm
Version
1.0.7
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Apolitical Health

Node.js module to expose Apolitical's APIs health checks

Requirements

Requires the following to run:

  • node.js 16.13.0+
  • yarn

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!

Keywords

Backend

FAQs

Package last updated on 29 Aug 2026

Related posts