@m03geek/server-status
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

server-status

NPM Version Downloads Count Vunerabilities Count Build Status Coverage Status License

Returns common info about node.js server. Could be used for

ToC

Installation

npm i @m03geek/server-status --save

Back to top

Usage

const serverstatus = require('server-status');
console.log(serverstatus());

Back to top

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' } 
}

Back to top

Dependencies (1)

Dev Dependencies (6)

Package Sidebar

Install

npm i @m03geek/server-status

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

6 kB

Total Files

6

Last publish

Collaborators

  • m03geek