wettr
v0.0.7
Published
π¦ Easy way to check Weather via the command line.
Downloads
4
Readme
ScreenShot
About
Wettr is a command line app to get instant real-time weather data by city name from any corner on earth right on the command line.
This is written in JavaScript and powered by OpenWeatherMap API. It provides detailed weather data and forecasts for next 4 days with 6 hour intervals.
You can look up weather data any of the following means:
- By entering City Name
- By entering Postal Code
Install
You need NodeJs 14 or later to run this tool.
npm install wettr -g
Uninstall
npm remove wettr -g
Usage
$ wettr
β Enter your city name Β· New York
ii11111111111111;;
Weather : mist ;;;;;;;;;;;;;;;;::
Tempreture : 13.08Β°C ::::::::::::::::::::::::::::::
Humidity : 84% ;;111111111111111111111111111111
Visibility : 6437m ::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Pressure : 1022 hPa ::::::::::::::::::::::::::::::::::::::
Wind Speed : 9.77m/s ;;111111111111111111111111111111111111
Wind Direction : 60deg ::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Wind Gust : n\a ::::::::::::::::::::::::::::::::::::::
Cloudiness : 100% 111111111111111111111111111111111111;;
Precipitation : No ::::::::::::::::::::::::::::::::::::::
Rain : No ::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::
Snow : No ::111111111111111111111111111111111111::
Sunrise : 4:46:58 PM ::::::::::::::::::::::::::::::::::::
Sunset : 3:33:11 AM ::;;;;;;;;;;;;;;;;;;;;;;::
TimeZone : -14400 ;;1111111111111111111111;;
City : New York
Latitude : 40.7143
Longitude : -74.006
Time : Monday, 24th October 2022, 11:00:00 AM
Weather forecast:
ββββββββββββββββββββββββ¬ββββββββββββββ¬βββββββββββββββββββ¬βββββββββββ¬βββββββββββββ¬ββββββββββ¬ββββββββ¬βββββββββ¬βββββββ
β Time β Temperature β Weather β Humidity β Visibility β Wind β Cloud β Rain β snow β
ββββββββββββββ¬ββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Morning β 16.65Β°C β overcast clouds β 98% β 3128m β 3.9m/s β 100% β No β no β
β βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Noon β 17.39Β°C β light rain β 99% β 87m β 3.71m/s β 100% β 2.83mm β no β
β Tue 25 Oct βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Evening β 17.52Β°C β overcast clouds β 98% β 4557m β 3.33m/s β 99% β No β no β
β βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Night β 21.69Β°C β light rain β 74% β 10000m β 4.98m/s β 85% β 0.12mm β no β
ββββββββββββββΌββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Morning β 18.70Β°C β light rain β 92% β 10000m β 3.66m/s β 76% β 0.17mm β no β
β βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Noon β 18.00Β°C β overcast clouds β 95% β 10000m β 1.67m/s β 99% β No β no β
β Wed 26 Oct βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Evening β 17.65Β°C β overcast clouds β 96% β 10000m β 0.51m/s β 100% β No β no β
β βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Night β 20.17Β°C β overcast clouds β 79% β 10000m β 1.9m/s β 98% β No β no β
ββββββββββββββΌββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Morning β 19.11Β°C β light rain β 82% β 10000m β 2.58m/s β 88% β 0.17mm β no β
β βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Noon β 17.04Β°C β broken clouds β 68% β 10000m β 4.35m/s β 52% β No β no β
β Thu 27 Oct βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Evening β 14.73Β°C β clear sky β 69% β 10000m β 6.06m/s β No β No β no β
β βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Night β 18.37Β°C β scattered clouds β 49% β 10000m β 4.84m/s β 26% β No β no β
ββββββββββββββΌββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Morning β 15.51Β°C β few clouds β 41% β 10000m β 5.95m/s β 12% β No β no β
β βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Noon β 11.58Β°C β clear sky β 51% β 10000m β 5.32m/s β No β No β no β
β Fri 28 Oct βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Evening β 10.36Β°C β clear sky β 59% β 10000m β 5.05m/s β 8% β No β no β
β βββββββββββΌββββββββββββββΌβββββββββββββββββββΌβββββββββββΌβββββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββ€
β β Night β 14.53Β°C β broken clouds β 52% β 10000m β 5.33m/s β 79% β No β no β
ββββββββββββββ΄ββββββββββ΄ββββββββββββββ΄βββββββββββββββββββ΄βββββββββββ΄βββββββββββββ΄ββββββββββ΄ββββββββ΄βββββββββ΄βββββββ