http-chunk-serve
v1.0.7
Published
http chunk-serve
Downloads
2
Readme
I. Introduction
A http-serve alternative server which md5 for chunk or entire file download
II. Installation
npm i http-chunk-serve@<version> -g
III. Usage
Run http-chunk-serve --port <port> --path <serve-folder>
to start a http file server.
Note that:
- If
--port
is missing, port 80 will be used. - If
--path
is missing, by default, this app will serve./public
folder if it's exist. Otherwise, cwd will be serve.
FYI,
- You can use a file downloader client which has been publish to
http-chunk-downloader
to get benefit from this lib. http-chunk-serve
is not a newer version ofhttp-serve
and it's not support arguments ashttp-serve
does. The cli was built on top of custom@express/serve-static
middleware. You can find the repo of this middleware atgithub.com/gigasource/serve-static