1.0.7 • Published 2 years ago

country-weather-info v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Capital Weather Info

Returns the current weather information of the capital of the country sent through the console.

Packages Used

In this plugin, yargs and axios npm packages, OpenWeatherMap and REST Countries API are used.

-Yargs

-Axios

-OpenWeatherMap

-REST Countries

Install

To install this package, simply write this code on the console screen:

npm i country-weather-info

Usage

For more information: weather --help

const app = require('country-weather-info');
app();

Console:

node yourjsfile.js weather --country="Country Name" --unit="Heat Unit [Optional, default value fahrenheit]"

Screenshot

npm.io