server-summary
Log basic server information after an http server start as ndjson.
Features
- log local url (useful for tools like opnr)
- log port
- log environment
- log process id (useful for
dtrace(1)
,kill(1)
)
Usage
const summary = const http = const bole = const log = processenvNODE_ENV = 'development' const server = httpserver
Why?
Knowing on what port your server is listening is nice to have. This module
logs some basic information after your server has started to stdout
.
Installation
$ npm install server-summary