Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/rpivo/express-compression-server
- Owner: rpivo
- Created: 2020-06-08T03:46:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-13T18:37:01.000Z (almost 2 years ago)
- Last Synced: 2024-11-04T06:25:21.843Z (15 days ago)
- Topics: express, expressjs, node, nodejs, server, serves-compressed-files
- Language: JavaScript
- Homepage:
- Size: 206 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
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`