aqi-cli
v1.0.13
Published
**aqi-cli** is simple commandline tool to get the currently Air Quality
Downloads
15
Readme
Motivation
aqi-cli is simple commandline tool to get the currently Air Quality
Quick Start
npm install -g api-cli
aqi-cli -a guagnzhou -l en
// result
Guangzhou AQI : 50
Updated on Thursday 17:00
-------------------
Air Pollution Level : Good
> pm25 : 50
> pm10 : 26
> o3 : 75
> no2 : 9
> so2 : 3
> co : 6
> t : 34
> p : 1005
> h : 56
> w : 2
Health Implications : Air quality is considered satisfactory, and air pollution poses little or no risk
Cautionary Statement (for PM2.5) : None
command options
aqi-cli --help
Options:
--help help massage [Boolean]
--version version [Boolean]
--area, -a want to know the air quality in which area
--lang, -l choices display language
[Options: "de", "en", "es", "fr", "ja", "ko", "pl", "pt", "ru", "vi", "zh-CN",
"zh-TW"]
--watch, -w watch aqi [Boolean]
Watch mode
aqi-cli -w
will notify he currently Air Quality by node-notifier