anywhere-liusisi

Tiny NodeJS Static Web Service

Usage no npm install needed!

<script type="module">
  import anywhereLiusisi from 'https://cdn.skypack.dev/anywhere-liusisi';
</script>

README

anywhere-liusisi

Tiny NodeJS Static Web Service

npm i -g anywhere-liusisi

使用方法

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

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

anydoor -h localhost # 设置 host 为 localhost

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