Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

dcf-weather

dingchaofa4ISC1.1.1

这是一个天气API,在命令行获取天气的快捷方式,node模块

weather, dcf

readme

命令行获取天气

npm i -g dcf-weather

全局安装

weather + city

city 可以是拼音也可以是汉字

for example:

weather 北京 / beijing

注:window下的git bash可能会对汉字解码出错,解决方式: