0.0.4 • Published 4 years ago

fomex-compress v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

fomex-compress

Compress for fomex based on koa-compress that support gzip, deflate and brotli. You are required to use node@10.16+ before you can use brotli encoding.

Installation

yarn add fomex-compress

Usage

import { baseWebRouter } from 'fomex';
import { PluginCompress } from 'fomex-compress';

export const webRouter = baseWebRouter.global(new PluginCompress());

Options

TODO:

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago