0.2.6 • Published 4 years ago

wym-anywhere v0.2.6

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

wym-anywhere

npm version

一个基于NodeJS的静态HTTP服务,可以在本地和局域网中访问.随启随用

使用ES6进行开发.其中使用了asyncawait异步函数.所以请使用nodev7.6及以上的node版本

Install

npm i -g wym-anywhere

使用方法

wym-anywhere
# 把当前文件夹作为静态资源服务器跟目录

wym-anywhere -p 8080
# 设置端口号为 8080 默认为8000

wym-anywhere -h localhost
# 设置 host 为 localhost 默认为 本地内网IP地址,若本地内网IP地址去不到时,则为127.0.0.1

wym-anywhere -d /uer
# 设置跟目录为 /usr 默认为当前目录

wym-anywhere -v
# 显示版本号

wym-anywhere --help
# 显示帮助信息

License

The MIT license.

0.2.6

4 years ago

0.2.5

4 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago