3.0.1 • Published 4 years ago
@oof2510/ping v3.0.1
Ping
An NPM module to ping a domain
Installation
Yarn
yarn add @oof2510/ping
NPM
npm i @oof2510/ping
Example code
const { ping } = require("@oof2510/ping");
async function p() {
let googlePing = await ping("google.com");
console.log(googlePing);
}
p();
Cli usage
simple-ping [options] [command]
Commands:
help Display help
version Display version
Options:
-H, --help Output usage information
-h, --host host to ping
-v, --version Output the version number