Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

yxyanydoor

yxy98269417ISC0.2.6

yxy nodejs web server

static, webserver

readme

anydoor

Tiny NodeJS Static Web server

安装

npm i -g anydooryxy

使用方法

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

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

anydooryxy -h localhost # 设置 host 为 localhost

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