country-weather-info

1.0.7 • Public • Published

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

Package Sidebar

Install

npm i country-weather-info

Weekly Downloads

0

Version

1.0.7

License

ISC

Unpacked Size

3.11 kB

Total Files

4

Last publish

Collaborators

  • knifexedtr