node-typhoon
node-typhoon is a javascript for nodejs library to help you get the typhoon information,including real-time or historical information.
No middleware dependencies,Base on http://typhoon.zjwater.gov.cn
Installation
npm install node-typhoon
Import It
var Typhoon = ; //or ;
Demo
Usage & API
- typhoonActivity() : get typhoon real-time information
- typhoonList(year) : get typhoon informations during the period of specify year
see sample/sample.js
var Typhoon=; // get real-time informationTyphoon; // get historical informationTyphoon;
Test
npm install
npm test
License
MIT