get-server-port
Get the port from a server.
Installation
$ npm install get-server-port
Usage
const server = httpserver // => 2354
API
serverPort(server)
Get the port from a server instance.
Get the port from a server.
$ npm install get-server-port
const server = httpserver // => 2354
Get the port from a server instance.
npm i get-server-port
3
1.0.0
MIT