Skip to content

📶 Ping average round trip times in milli-seconds

License

Notifications You must be signed in to change notification settings

bukinoshita/pinggo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pinggo Build Status

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 — 📶 Check your ping before match making, don't play with lag

License

MIT © Bu Kinoshita