Skip to content

shaolonger/AnyWeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anyweb

Tiny NodeJS Web Server

安装指南

npm i -g anyweb

使用方法

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

anyweb -p 8888 # 设置端口号为8888

anyweb -h localhost # 设置主机名为localhost

anyweb -r /user # 设置根目录为/user