Motivation
aqi-cli is simple commandline tool to get the currently Air Quality
Quick Start
npm install -g api-cliaqi-cli -a guagnzhou -l en // resultGuangzhou AQI : 50Updated 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
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