node package manager

ebola-outbreak

Ebola Outbreak NPM Version wercker continuous integration testing npm dependencies

Powered by data obtained from the World Health Organization.

Install

npm install ebola-outbreak --save

Usage

var ebola = require('ebola-outbreak')
 
// Return all the confirmed cases 
ebola.cases(function(err, cases){
  if (err) throw err
  console.log(cases)
})
 
// Return confirmed cases plus 5 projections: 
ebola.project(5, function(err, projections){
  if (err) throw err
  console.log(projections)
})
 
// Return the latest growth rate: 
ebola.rate(function(err, rate){
  if (err) throw err
  console.log(rate)
})
 

Todos

  • Add country specific data
  • Add different output types