1.3.1 • Published 4 years ago
coronavirus-api.js v1.3.1
Welcome to the coronavirus API
This is an overview of all the functions
const c = require("coronavirus-api.js")
c.covidall().then(console.log())
//logs all covid-19 data
c.covidcountry('USA').then(console.log())
//shows data for a specified country
c.usastate('Texas').then(console.log())
//shows data for a specified US state
c.allcontinents().then(console.log())
c.continents('Europe').then(console.log())