uptime-pix4
v4.6.0
Published
Uptime robot check for pix4 services
Downloads
19
Readme
Uptime Pix4
A uptime robot for Pix4 services
Example
const { UptimeCheck } = require("uptime-pix4");
(async () => {
const robot = new UptimeCheck(); // init class
robot.humanify([
{
"cache-control": "no-cache",
},
]); // used user agents at the request
await robot.checkIfUp().catch((err) => {
// check if website is accessable
console.log("oops..:", err);
});
console.log(robot.status); // see status information
})();