A utility for checking latency on endpoints
Use the package manager npm to install.
npm install checkping
import checkping from "checkping";
checkping(ip, multiplier); // ip: server IP, multiplier: tuning for delay, return: Promise<number>
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.