weather-japan
v1.0.5
Published
This is an application that displays a simple nationwide weather forecast for Japan.
Downloads
2
Readme
weather-japan
This is an application that displays a simple nationwide weather forecast for Japan.
Getting Started
Attention
This application uses a json file provided by the Japan Meteorological Agency, which is retrieved via HTTP request.To avoid overloading the provider, avoid running a large number of applications in a short period of time.
このアプリケーションは、気象庁が提供するjsonファイルをHTTPリクエストで取得して利用しています。提供元に負荷をかけないために、短時間で大量にアプリケーションを実行することは避けてください。
Installation
The easiest way to install:
npm install -g weather-japan
If you don't want to do a global installation, Use npx or specify the path to .node_modules/.bin/
in your installed directory.
Usage
weather-japan
Tips
Options is not yet implemented.If you want to check the weather for a specific region only, use the grep
command.
-> % weather-japan | grep 東京
東京 │ 晴(−/−/−/0) │ 晴(0/0/0/0) │ 晴時々曇(10)
-> % weather-japan | head -2; weather-japan | grep 東京
│12/03 │12/04 │12/05
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
東京 │ 晴(−/−/−/0) │ 晴(0/0/0/0) │ 晴時々曇(10)