pinggo

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i pinggo

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

3.14 kB

Total Files

5

Last publish

Collaborators

  • bukinoshita