Running static file server anywhere.
可在任意目录下启动,将目录文件变成文件服务器在同一局域网内访问与下载
Install it as a command line tool via npm -g
.
npm install qh-static-server -g
$ qh-static-server
// or with port
$ qh-static-server -p 8000
// or start it but silent(don't open browser)
$ qh-static-server -s
// or with hostname
$ qh-static-server -h localhost -p 8888
If you want check Help option, use --help not -h!!
The MIT license.