http-chunk-serve

1.0.7 • Public • Published

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 of http-serve and it's not support arguments as http-serve does. The cli was built on top of custom @express/serve-static middleware. You can find the repo of this middleware at github.com/gigasource/serve-static

Readme

Keywords

none

Package Sidebar

Install

npm i http-chunk-serve

Weekly Downloads

0

Version

1.0.7

License

ISC

Unpacked Size

2.44 kB

Total Files

3

Last publish

Collaborators

  • vutrongthinhk7