koa-minify

2.0.1 • Public • Published

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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i koa-minify

    Weekly Downloads

    3

    Version

    2.0.1

    License

    MIT

    Last publish

    Collaborators

    • coderaiser