[DEPRECATED] Replaced by @wusisu/koa-middlewares
This is a koa2 middleware collection which use koa-convert to convert a koa1 middleware into a koa2 one if needed.
##middleware list
##Usage
es2015:
import {cors, favicon} from 'koa-middleware'
app.use(cors())
app.use(favicon('path/to/favicon'))
es5:
const middlewares = require('koa-middleware')
const cors = middlewares.cors
const favicon = middlewares.favicon
app.use(cors())
app.use(favicon('path/to/favicon'))