JSPM

pinggo

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q40323F
  • License MIT

Ping average round trip times in milli-seconds

Package Exports

  • pinggo

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pinggo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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

  • pinggo-cli — 📶 Check your ping before match making, don't play with lag

License

MIT © Bu Kinoshita