| 16 | ); |
| 17 | |
| 18 | const infoCountries = () => |
| 19 | console.log( |
| 20 | dim(` |
| 21 | \n${sym.info} ${cyan(`KEY:`)} |
| 22 | ${dim(`❯ `)}${cyan(`Country:`)} Name of the country |
| 23 | ${dim(`❯ `)}${cyan(`Cases:`)} Total number of cases in a country |
| 24 | ${dim(`❯ `)}${cyan(`Cases (today):`)} Cases in 24 hours GMT/UTC |
| 25 | ${dim(`❯ `)}${cyan(`Deaths:`)} Total number of deaths in a country |
| 26 | ${dim(`❯ `)}${cyan(`Deaths (today):`)} Deaths in 24 hours GMT/UTC |
| 27 | ${dim(`❯ `)}${cyan(`Recovered:`)} Total number of recovered people |
| 28 | ${dim(`❯ `)}${cyan(`Active:`)} Total number of active patients |
| 29 | ${dim(`❯ `)}${cyan(`Critical:`)} Total number of critical patients |
| 30 | ${dim(`❯ `)}${cyan(`Per Million:`)} Affected patients per million |
| 31 | `) |
| 32 | ); |
| 33 | |
| 34 | module.exports = async (lastUpdated, states, minimal) => { |
| 35 | if (minimal) return console.log(); |