1.0.5 • Published 3 years ago

file-http-server v1.0.5

Weekly downloads
8
License
ISC
Repository
github
Last release
3 years ago

file-http-server

a simple file http server, created by local file system, need to install nodejs version is more than v10

Usage

  1. npx
    cd /home/xxx/test
    npx file-http-server --port=3000
  1. npm 全局安装后使用file-http-server命令
    cd /home/xxx/test
    npm install file-http-server -g
    file-http-server --port=3000

Options

  1. port:启动服务的端口,默认8000
  2. proxy: 指定代理配置,如果配置后,则服务所有请求将转发到代理服务器上,使用示例:
    file-http-server --port=3000 --proxy=http://192.168.56.100
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago