AnyWhere 静态文件服务器

2020-11-27 16:47:43

简介

AnyWhere是一款随启随用的静态文件服务器,可以随时随地将你的当前目录变成一个静态文件服务器的根目录。

安装

npm install anywhere -g

使用

$ anywhere
// or with port
$ anywhere -p 8000
// or start it but silent(don't open browser)
$ anywhere -s
// or with hostname
$ anywhere -h localhost -p 8888
// or with folder
$ anywhere -d ~/git/anywhere
// or enable html5 history
$ anywhere -f /index.html

界面

 

最后,浏览器输入:http://192.168.32.187:8000/

 

posted @ 2020-11-27 16:53  落日归山海  阅读(230)  评论(0)    收藏  举报