pinggo
v1.0.1
Published
Ping average round trip times in milli-seconds
Downloads
16
Maintainers
Readme
pinggo
Ping average round trip times in milli-seconds
Install
$ yarn add pinggo
Usage
const pinggo = require('pingoo')
const ping = await pinggo('192.69.96.1')
console.log(`Your average ping is ${ping}`)
// => Your average ping is 20.080ms
API
pinggo(ip)
ip
Type: string
Default: localhost
Optional
Related
- pinggo-cli — :signal_strength: Check your ping before match making, don't play with lag
License
MIT © Bu Kinoshita