justo.plugin.ping
v1.0.0-alpha2.0
Published
Justo plugin for performing pings.
Downloads
2
Readme
justo.plugin.ping
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.
Use
const ping = require("justo.plugin.ping");
ping task
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});