0.1.3 • Published 4 years ago
anydirs v0.1.3
anydirs
redBase NodeJS Static Web server
安装
npm i -g anydirs
使用方法
anydirs # 把当前文件夹作为静态资源服务器根目录
anydirs -p 8080 # 设置端口号为 8080
anydirs -h localhost # 设置 host 为 localhost
anydirs -d /usr # 设置根目录为 /usr
redBase NodeJS Static Web server
npm i -g anydirs
anydirs # 把当前文件夹作为静态资源服务器根目录
anydirs -p 8080 # 设置端口号为 8080
anydirs -h localhost # 设置 host 为 localhost
anydirs -d /usr # 设置根目录为 /usr