Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rpivo/express-compression-server

simple express server that serves compressed files from a given folder and hot reloads while you work.
https://github.com/rpivo/express-compression-server

express expressjs node nodejs server serves-compressed-files

Last synced: 8 days ago
JSON representation

simple express server that serves compressed files from a given folder and hot reloads while you work.

Awesome Lists containing this project

README

        

# express-compression-server
express server that serves compressed files from a given folder.

## Usage

### Installation

Quickstart:

`npx express-compression-server --build=dist --port=9000`


To install:

`yarn global add express-compression-server`

or

`npm install -g express-compression-server`

### Options

#### build

This is folder location of your bundle to serve. This option is required.

`build=dist`
or
`b=dist`

#### port

This is the port that you want to serve your bundle on. This option is optional.

`port=9000`
or
`p=9000`