JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 34
  • Score
    100M100P100Q46717F
  • License MIT

A weather tool in your command line

Package Exports

  • tianqi

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tianqi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

tainqi

NPM version

A weather tool in your command line.


Install

$ npm install tianqi -g

Usage

1. Query local weather

$ tianqi

2. Query weather by city name

$ tianqi 北京
 今天天气 小雪  当前温度 2℃  最低温度 2℃  最高温度 4℃  风力 微风级

 未来四天预报

 2015-11-07 阴 最低温度 5℃  最高温度 7℃  风力 微风级

 2015-11-08 阴 最低温度 1℃  最高温度 11℃  风力 微风级

 2015-11-09 晴 最低温度 3℃  最高温度 14℃  风力 微风级

 2015-11-10 晴 最低温度 6℃  最高温度 12℃  风力 微风级