nodesw
轻量级的nodejs静态资源web服务器
安装
npm i -g nodesw
使用方法
nodesw #此文件夹作为根目录
nodesw -p 8080 #手动设置端口号为 8080
nodesw -h localhost #设置host为localhost
nodesw -d /opt #设置根目录为/opt
轻量级的nodejs静态资源web服务器
npm i -g nodesw
nodesw #此文件夹作为根目录
nodesw -p 8080 #手动设置端口号为 8080
nodesw -h localhost #设置host为localhost
nodesw -d /opt #设置根目录为/opt
npm i nodesw
1
1.0.0
ISC
1.15 MB
17