coronavirus-api.js

1.3.1 • Public • Published

Welcome to the coronavirus API

This is an overview of all the functions

npm version

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()) 

Readme

Keywords

none

Package Sidebar

Install

npm i coronavirus-api.js

Weekly Downloads

1

Version

1.3.1

License

MIT

Unpacked Size

2.65 kB

Total Files

3

Last publish

Collaborators

  • laggyraggy