JSPM

ha-status

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q34227F
  • License MIT

HA Proxy status - http

Package Exports

  • ha-status

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ha-status) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Usage

##1. Config: By default it starts on port 7828 (STAT) For other config add in your .env file STATUS_PORT=

##2. Install

npm install ha-status

##3. Usage

###3.1 No http library

require('ha-status').load();

###3.2 Hapi or Express

require('ha-status').load(yourServerObject);

For some examples you can look in test/default.js