chore: add example for single server ping

This commit is contained in:
Timofey Gelazoniya 2024-10-09 21:55:01 +03:00
parent 009f542c55
commit 88ad92e59d
Signed by: zeldon
GPG Key ID: 047886915281DD2A

5
example/single.js Normal file
View File

@ -0,0 +1,5 @@
import { pingBedrock } from "../index.js";
const host = "mc.nevertime.su";
const ping = await pingBedrock(host);
console.log(ping);