anywhere-l

Tiny NodeJS Web server

Usage no npm install needed!

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

README

anywhere

Tiny NodeJS Web server

安装

、、、 npm i -g anywhere 、、、

使用方法

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

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

anywhere -h localhost #设置 host 为 localhost

anywhere -d /usr # 设置根目录为 /usr 、、、