From 88ad92e59dcad7b616f2a27f831562c3334e2591 Mon Sep 17 00:00:00 2001 From: xzeldon Date: Wed, 9 Oct 2024 21:55:01 +0300 Subject: [PATCH] chore: add example for single server ping --- example/single.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 example/single.js diff --git a/example/single.js b/example/single.js new file mode 100644 index 0000000..d3858e3 --- /dev/null +++ b/example/single.js @@ -0,0 +1,5 @@ +import { pingBedrock } from "../index.js"; + +const host = "mc.nevertime.su"; +const ping = await pingBedrock(host); +console.log(ping);