【文件属性】:
文件名称:myAnydoor:示例NodeJs静态Web服务器
文件大小:313KB
文件格式:ZIP
更新时间:2021-05-27 09:58:37
JavaScript
youranydoor
sample NodeJs Static Web Server
安装
npm i -g youranydoor
使用方法
youranydoor # 把当前文件夹作为静态资源服务器的根目录
youranydoor -p 8080 # 设置端口号
youranydoor -h localhost # 设置 host 为 localhost
youranydoor -d /usr # 设置根目录为 /usr
【文件预览】:
myAnydoor-master
----.gitignore(931B)
----package.json(1KB)
----src()
--------app.js(682B)
--------index.js(460B)
--------helper()
--------config()
--------template()
----bin()
--------youranydoor(48B)
--------README.MD(106B)
----.travis.yml(115B)
----jest.config.js(6KB)
----build()
--------webpack.config.js(355B)
--------post-build.js(265B)
----LICENSE(1KB)
----babel.config.json(134B)
----.eslintrc.js(547B)
----README.md(407B)
----.eslintignore(65B)
----lib()
--------js()
--------template()
----.npmignore(46B)
----.editorconfig(196B)
----yarn.lock(255KB)