initial commit

This commit is contained in:
2022-01-10 23:21:47 +03:00
commit e9cd348935
15 changed files with 676 additions and 0 deletions

11
types/index.d.ts vendored Normal file
View File

@ -0,0 +1,11 @@
export { pingJava } from "./lib/java.js";
export { pingBedrock } from "./lib/bedrock.js";
/**
* @param port The server port.
* @param timeout The read/write socket timeout.
*/
export type PingOptions = {
port: number,
timeout: number;
};