weather-tool
v1.0.3
Published
命令行天气工具
Downloads
13
Readme
####命令行查询天气工具 ###安装
$ npm install weather-tool -g
###使用
- weather :显示本地天气情况
- weather xx: 后面加上地名,显示查询地的天气
显示结果:
当前:上海市 周一 04月03日 (实时:17℃) pm2.5: 62 气温: 22 ~ 13℃ 天气: 多云 风力: 东南风微风 穿衣指数: 建议着薄外套、开衫牛仔衫裤等服装。年老体弱者应适当添加衣物,宜着夹克衫、薄毛衣等。
###版本更新 version: 1.0.2 没有找到查询的地址时,自动切回本地天气