0.0.3 • Published 6 years ago
serverhere666 v0.0.3
serverhere
server you folder to web
how to contribute
$ git clone [thisrepo]
$ cd [thisrepo]
$ sudo npm install
//$ sudo npm link
how to use
$ sudo npm install -g server666
$ serverhere -p 3000
now you can visit localhost:3000/path/to/file
思路
创建一个http服务器,将网络请求中的url转化为文件路径,并允许用户访问