1.0.3 • Published 3 years ago

uptime-system v1.0.3

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
3 years ago

What is this module ?

This module help to 7/24 a project and you can uptime bot with this module easily!

How can i use ?

const { Uptime } = require("uptime-system")

var uptime = new Uptime({
  url: "https://your.domain/",//website link
  time: 1,//time
  time_type: 'minute',// you can use millisecond, minute, hour, day, week
  callback: "console.log('your.domain successfully uptime!')"//callback function action to be performed each time it uptimes
})

Documentation

MethodTypeDescription
new Uptime()ObjectYou can uptime your project or any other project

'new Uptime()' options

OptionTypeDescription
url: "https://your.domain"StringYou can add your link with this option
time: 1NumberYou specify interval
time_type: "minute"StringYou specify interval type
callback: "console.log('your.domain successfully uptime!')"StringYou specify what uptime-system do on every uptime