country-weather-info
v1.0.7
Published
Returns the current weather information of the capital of the country sent through the console.
Downloads
1
Maintainers
Readme
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.
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]"