anydoor-jarvis

Tiny NodeJS Static Web server

Usage no npm install needed!

<script type="module">
  import anydoorJarvis from 'https://cdn.skypack.dev/anydoor-jarvis';
</script>

README

anydoor

Tiny NodeJS Static Web server

安装

npm i -g anydoor

使用方法

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

anydoor -p 8080 # 设置端口号 8080

anydoor -h localhost # 设置 host 为 localhost

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