uptime-pix4
TypeScript icon, indicating that this package has built-in type declarations

4.6.0 • Public • Published

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
})();

/uptime-pix4/

    Package Sidebar

    Install

    npm i uptime-pix4

    Weekly Downloads

    2

    Version

    4.6.0

    License

    ISC

    Unpacked Size

    20.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • z3ntl3