anydoor_ypp

Tiny NodeJS Static Web server

Usage no npm install needed!

<script type="module">
  import anydoorYpp from 'https://cdn.skypack.dev/anydoor_ypp';
</script>

README

anydoor

Tiny NodeJS Static Web server

安装

npm i -g anydoor

使用方法

anydoor # 把当前文件夹作为静态资源服务器的根目录
anydoor -h localhost # 设置host为localhost
anydoor -p 8080 # 设置端口号为8080
anydoor -d /usr # 设置根目录为/usr