Skip to content

coderaiser/koa-minify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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