compress for koa extend.
$ npm install @koex/compress
// See more in test
import compress from '@koex/compress';
import * as Koa from 'koa';
const app = new Koa();
app.use(compress());
app.use(ctx => {
ctx.body = 'hello, world!';
});
app.listen(8000, '0.0.0.0', () => {
console.log('koa server start at port: 8000');
});