ebola-outbreak

0.3.6 • Public • Published

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

Package Sidebar

Install

npm i ebola-outbreak

Weekly Downloads

33

Version

0.3.6

License

ISC

Last publish

Collaborators

  • montanaflynn