Query basic information about Minecraft servers via Server List Ping.
import { serverListPing } from "jsr:@ud2/server-list-ping";
const status = await serverListPing({ hostname: "127.0.0.1" });
console.log(status);
Also check out the online demo and its
source code in main.ts
.