mirror of
https://github.com/minescope/mineping.git
synced 2024-12-25 06:25:47 +00:00
chore: add example for single server ping
This commit is contained in:
parent
009f542c55
commit
88ad92e59d
5
example/single.js
Normal file
5
example/single.js
Normal file
@ -0,0 +1,5 @@
|
||||
import { pingBedrock } from "../index.js";
|
||||
|
||||
const host = "mc.nevertime.su";
|
||||
const ping = await pingBedrock(host);
|
||||
console.log(ping);
|
Loading…
Reference in New Issue
Block a user