New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

downy

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

downy

Gives status of popular services.

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

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.

Keywords

status

FAQs

Package last updated on 12 Jul 2016

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