justo.plugin.ping

1.0.0-alpha2.0 • Public • Published

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 sending count packets. Default: 4.
  • quiet (bool). Quiet output. Default: false.
  • interval (number). Wait interval seconds between sending each packet.

Example:

ping({host: "google.com", interval: 1});

Readme

Keywords

Package Sidebar

Install

npm i justo.plugin.ping

Homepage

justo.rocks

Weekly Downloads

0

Version

1.0.0-alpha2.0

License

none

Last publish

Collaborators

  • justojs