4.0.0 • Published 3 years ago
koa-mid v4.0.0
koa-mid
Common Koa middlewares
- koa-bodyparser
- koa-compress
- koa-cookie
- koa-helmet
- koa-lowercase
With reasonable defaults.
const Koa = require('koa')
const mid = require('koa-mid')
const app = new Koa()
app.use(mid)
// the rest of your server