res-time
Get TCP/socket response time.
Install
$ npm install --save res-time
Usage
const resTime =
API
resTime([options])
options
host
Type: string
Default: localhost
The host to connect.
port
Type: number
Default: 80
Host port.
timeout
Type: number
Default: 0
Connection timeout.
License
MIT © EGOIST