Ebola outbreak data, projections and growth rate.
npm install ebola-outbreakPowered by data obtained from the World Health Organization.
``shell`
npm install ebola-outbreak --save
`javascript
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)
})
``
- Add country specific data
- Add different output types