@m03geek/server-status
v1.1.1
Published
Module for getting simple server stats
Downloads
19
Readme
server-status
Returns common info about node.js server. Could be used for
ToC
Installation
npm i @m03geek/server-status --save
Usage
const serverstatus = require('server-status');
console.log(serverstatus());
Format
{
name: '@m03geek/server-status', // your server name from package.json
version: '1.0.0', // your server version from package.json
now: 2018-08-15T12:18:14.284Z,
uptime: '0d 00:00:01',
uptimeSec: 0.817,
title: 'node',
runtime: { node: 'v10.8.0' }
}