xyz.monitor.basic.bootstrap

0.4.1 • Public • Published

xyz.monitor.basic.bootstrap

Build Status npm version dependencies Status


This project has been created as a means for demonstrating the usage of bootstrap functions. This section of the documentations will describe how this bootstrap function works in depth.

Usage

Install the bootstrap function using

npm install xyz.monitor.basic.bootstrap

patch it to the system using:

let ms = new XYZ({...})
const port = 7777
ms.bootstrap(require('xyz.monitor.basic.bootstrap'), port)

This will automatically create a new HTTP server (using express) on port 7777 and the information of the system will be displayed there.

Note that this bootstrap function will monitor the default CALL route by default.

Example output

Tests

Test are located in test directory and demonstrate different usages of this bootstrap plugin. All of them will be lunched using:

npm test

Readme

Keywords

Package Sidebar

Install

npm i xyz.monitor.basic.bootstrap

Weekly Downloads

0

Version

0.4.1

License

ISC

Last publish

Collaborators

  • kianenigma