Socket
Socket
Sign inDemoInstall

service-status-data

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

service-status-data - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

index.js

6

package.json

@@ -6,6 +6,5 @@ {

"name": "service-status-data",
"version": "0.0.1",
"version": "0.0.2",
"description": "Endpoints for services that have status pages",
"main": "",
"devDependencies": {},
"main": "index.js",
"scripts": {

@@ -23,3 +22,4 @@ "test": "node validate.js"

},
"type": "module",
"homepage": "https://github.com/andymckay/service-status-data#readme"
}

@@ -31,7 +31,18 @@ A directory of status pages for various companies, the aim is to be able to pulled into other tools and services.

Please add in more if this is useful.
Please add in more if this is useful, more detailed instructions on this will come.
Todo:
* [ ] Figure out what we want to do with the biggies: AWS, GCP and Azure. Their status pages aren't simple.
* [ ] Collect as many as I can, please add in yours.
* [ ] Make some packages so we can pull them into various languages.
## Installation
This data is useful standalone, but can also be used as a JavaScript library.
```bash
npm install service-status-data
```
And then to use:
```js
import { get, list } from "service-status-data";
get('github') // Returns the data as a JSON object for GitHub.
list() // Returns a list of services. Each string can be passed to the `get` command.
```

@@ -20,2 +20,6 @@ {

},
"components": {
"type": "array",
"items": {"type": "string"}
},
"urls": {

@@ -22,0 +26,0 @@ "type": "object",

{
"name": "GitHub",
"web": "https://www.githubstatus.com/",
"host": "atlassian"
"host": "atlassian",
"components": [
"actions",
"codespaces",
"copilot",
"issues",
"packages",
"pages",
"webhooks"
]
}

@@ -1,4 +0,4 @@

const fs = require("fs");
const process = require("process");
const Validator = require("jsonschema").Validator;
import fs from "fs";
import process from "process"
import { Validator } from "jsonschema";

@@ -5,0 +5,0 @@ const schema = JSON.parse(fs.readFileSync("schema.json", "utf8"));

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc