traffic-accidents-taiwan
Node.js module to fetch and parse traffic accidents data for Taiwan.
這個 Node.js 模組讓你可以從最棒棒的中央氣象局取得全台灣天氣資料。
Installation
Install via NPM:
npm install traffic-accidents-taiwan
Usage
var taTW = ; // Fetching raw data with specific URLvar fetcher = taTW; // Creating a parser to convert raw data to JavaScript objectvar parser = taTW; parser; fetcher;
Support Stream and Pipe
Here is an example to use stream/pipe to convert data and output string to a file.
var fs = ;var taTW = ; taTW ;
License
Licensed under the MIT License
Authors
Copyright(c) 2017 Fred Chien <cfsghost@gmail.com>