ping.tweaker

A package that Tweaking Your Network ping.

Usage no npm install needed!

<script type="module">
  import pingTweaker from 'https://cdn.skypack.dev/ping.tweaker';
</script>

README

ping.tweaker

A package that Tweaking your Network ping.

Getting Started

npm i ping.tweaker

CLI installation

npm i ping.tweaker --global

Note: If you already have ping command at your Terminal, Don't install this as Global.

Docs

Method Description Parameter
size A function that governs the given size A parameter that gets the size in the number type
ping A function that pings a given host. A parameter that takes host in a given ip or hostname format. Could also be by executing Command

Example

const pt = require("ping.tweaker");

pt.size("56") // Default is 56

pt.ping("127.0.0.1") //It can also be with filling the hostname. Example, "www.example.com"

CLI example:

$ ping -s 56 -a 127.0.0.1

Support

Any question or doubt can join our Discord server