kettraworld-ping

1.1.2 • Public • Published

information

you can use it to keep your repl.it/site or similar projects online 24/7!

⏱️ Easy to use and completely free!

🚀 You can also create a web server for your project, to make it pingable

⚙️ Custom ping range option and custom port for web server option

documentação

methods Model Description
ping("name", "url", interval in ms); String, String, Number Starts pinging the given url.
webserver(port); Number Create a simple websever for your project to make it pingable.

code

 // importing the package
import ping from 'kettraworld-ping';
 
 // creating the server, default port 3000
ping.webserver();

 // ping a website...
ping.ping('localhost','http://0.0.0.0:3000', 10000);

Package Sidebar

Install

npm i kettraworld-ping

Weekly Downloads

40

Version

1.1.2

License

Apache-2.0

Unpacked Size

17.8 kB

Total Files

10

Last publish

Collaborators

  • sebastianjnuwu