3h-sever 中文文档教程
3h-sever
一个 cli 服务器库。
Install
$ npm install 3h-sever -g
Help
$ 3h-sever -h
Start a sever in current directory.
3h-sever <port> [options]
<port> The port to listen on.
-h Show help info.
-ne No error logs for the router.
-lp Log pathes before routing.
-dp <files> Default pages.
-sr <files> Sub-router files.
-pf <files> Private files.
-pd <dirs> Private directories.
3h-sever
A cli sever lib.
Install
$ npm install 3h-sever -g
Help
$ 3h-sever -h
Start a sever in current directory.
3h-sever <port> [options]
<port> The port to listen on.
-h Show help info.
-ne No error logs for the router.
-lp Log pathes before routing.
-dp <files> Default pages.
-sr <files> Sub-router files.
-pf <files> Private files.
-pd <dirs> Private directories.