1.0.1 • Published 4 years ago

anyroot v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

anyroot

Nodejs static Web Server

安装

npm i -g anyroot

使用方法

anyroot # 把当前文件夹作为静态资源服务器根目录

anyroot -p 8080 # 设置端口号 8080

anyroot - h localhost # 设置 host 为 localhost

anyroot -d /usr # 设置根目录为/usr