1.3.1 • Published 7 years ago

koa-weather v1.3.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

koa-weather

Commitizen friendly Build Status

Koajs geo­location and weather service middleware

Usage

Follow the steps in koajs to setup a koa enabled nodejs server

Then simply npm install koa-weather --save

import weatherMiddleware from 'koa-weather'

app.use(weatherMiddleware(options))

options provides a means to trigger an exception to terminate the pipeline with a 500 code error if weather data API request fails

option parameter

  • throwOnError default true

Example Usage

koa-weather-test

##Third party APIs

1.3.1

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago