Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 314 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 314 Bytes

anydoor

tiny nodejs static web server

安装

npm  i -g anydoor

使用方法

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

anydoor -p 8080  # 设置端口号为 8080

anydoor -h localhost  # 设置 host 为  localhost  

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