Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages