Justo plugin for performing ping
.
The task is local and SSH-compatible.
Developed in Dogma, compiled to JavaScript.
Proudly made with ♥ in Valencia, Spain, EU.
const ping = require("justo.plugin.ping");
This task performs a ping:
ping({host, count, quiet, interval}) : text
-
host
(string, required). Packet destination. -
count
(number). Stop after sendingcount
packets. Default:4
. -
quiet
(bool). Quiet output. Default:false
. -
interval
(number). Waitinterval
seconds between sending each packet.
Example:
ping({host: "google.com", interval: 1});