Skip to content

Get the status of a cloudflare page in a readable object!

Notifications You must be signed in to change notification settings

Team-Tritan/Get-Cloudflare-Status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get Cloudflare Status

Yet another useless project, brought to you by Redacted Devs

Get the status of a page covered by cloudflare, in a readable object!

Example

const getCloudflareStatus = require("cloudflare-status");

const url = "https://www.cloudflare.com";

/**
 *  Returns an object through the callback.
 *  @status - string
 *  @code - integer
 *  @message - string
 * */
getCloudflareStatus(url, function (error, status) {
  if (error) {
    console.log(error);
  } else {
    console.log(status);
  }
});

Contributing

  • Contribute on the open source github!

About

Get the status of a cloudflare page in a readable object!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published