upstatejs

Get status of popular services on the go.

NPM

CircleCI Build Status

Services supported :

Quick Setup

npm install upstatejs

you can also install without worrying about adding to package.json

npm install upstatejs --save

include the library by doing

var upstate = require("upstatejs")

and you are ready to use upstate

Usage

The status queries for the services can be called by

upstate.facebook()
upstate.github()
upstate.heroku()

both of which provide a callback function, which is called after the process of fetching the status is completed.

you can use the above functions like below

upstate.facebook(function (response){
	//PLAY WITH RESPONSE
});

the response has the following keys

A list of services available can be found by

upstate.list()

which return an array with name of the services available.