New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/status-page-list

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/status-page-list

List of public status pages for various cloud services exposed as a JavaScript library

0.6.0
latest
Source
npm
Version published
Maintainers
0
Created
Source

Status Page List

npm version

This page is a list of public status pages for various cloud services exposed as a JavaScript library.

Big thank you to Awesome status pages and it's creator Ivan Begtin for helping provide the initial list of status pages.

If you know of a status page that is not listed here, please open an issue or a pull request. Please also make sure to update Awesome status pages as well!

Usage

To access status page info, you can import a xxxStatusInfo import from @sentry/status-page-list.

import { sentryStatusInfo } from "@sentry/status-page-list";

const {
  // Sentry
  name,
  // ["sentry.io", "*.sentry.io"]
  domains,
  // "https://status.sentry.io/"
  statusPageUrl,
  // false
  isServiceDefunct,
} = sentryStatusInfo;

domainToStatusPageUrls

If you want to map a domain (like sentry.io) to it's status page, you can use the domainToStatusPageUrls exported object.

import { domainToStatusPageUrls } from "@sentry/status-page-list";

const sentryStatusPageLink = domainToStatusPageUrls["sentry.io"];
// also accepts glob URLs
const sentryStatusPageLink = domainToStatusPageUrls["*.sentry.io"];

Since domainToStatusPageUrls can get large, we recommend lazy loading it with await import or similar.

Contributing

This project requires yarn v1 and Node.js v20 or higher to run. We recommend configuring your Node version with Volta.

New status page entries can be added by adding a new entry to src/data folder. You can use the yarn generate:data CLI helper to add entries via the command line. You can look at the Sentry entry as an example.

After adding a new status entry run yarn generate to update the codegen files.

FAQs

Package last updated on 21 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts