downy
Gives status of popular services.
Last updated 4 years ago by punit1108 .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install downy 
SYNC missed versions from official npm registry.

downy

Get status of popular services on the go.

NPM

CircleCI Build Status

Services supported :

  • Facebook
  • Github
  • Heroku

###Quick Setup

npm install downy

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

npm install downy --save

include the library by doing

var downy = require("downy")

and you are ready to use downy

###Usage

The status queries for the services can be called by

downy.facebook()
downy.github()
downy.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

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

the response has the following keys

  • service - string - name of the service
  • status - boolean - true if the service is healthy else false
  • message - string - human readable string to interpret the situation of service.
  • data - Object - may or may not exist. Response object.

A list of services available can be found by

downy.list()

which return an array with name of the services available.

Current Tags

  • 0.3.0                                ...           latest (4 years ago)

6 Versions

  • 0.3.0                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.2.0-0                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 1
Last Month 2
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |