node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

koa-minify

Koa-minify

Minify middleware for koa.

Install

npm i koa-minify --save

Use

const koa = require('koa');
const koaMinify = require('koa-minify');
const app = new koa();
 
app.use(koaMinify({
    dir: __dirname
}));
 
app.listen(3000);

License

MIT