1.0.7 • Published 5 years ago
http-chunk-serve v1.0.7
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
--portis missing, port 80 will be used. - If
--pathis missing, by default, this app will serve./publicfolder if it's exist. Otherwise, cwd will be serve.
FYI,
- You can use a file downloader client which has been publish to
http-chunk-downloaderto get benefit from this lib. http-chunk-serveis not a newer version ofhttp-serveand it's not support arguments ashttp-servedoes. The cli was built on top of custom@express/serve-staticmiddleware. You can find the repo of this middleware atgithub.com/gigasource/serve-static