Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/coderaiser/koa-minify

Minify middleware for koa
https://github.com/coderaiser/koa-minify

Last synced: 25 days ago
JSON representation

Minify middleware for koa

Awesome Lists containing this project

README

        

# Koa-minify

[Minify](http://coderaiser.github.io/minify "Minify") middleware for [koa](http://koajs.com/ "Koa").

## Install

`npm i koa-minify --save`

## Use

```js
const koa = require('koa');
const koaMinify = require('koa-minify');
const app = new koa();

app.use(koaMinify({
dir: __dirname
}));

app.listen(3000);
```

## License

MIT