README
anywhere
Tiny NodeJS Web server
安装
、、、 npm i -g anywhere 、、、
使用方法
、、、 anywhere #把当前文件夹作为静态资源服务器根目录
anywhere -p 8080 #设置端口号为 8080
anywhere -h localhost #设置 host 为 localhost
anywhere -d /usr # 设置根目录为 /usr 、、、
Tiny NodeJS Web server
<script type="module">
import anywhereL from 'https://cdn.skypack.dev/anywhere-l';
</script>
Tiny NodeJS Web server
、、、 npm i -g anywhere 、、、
、、、 anywhere #把当前文件夹作为静态资源服务器根目录
anywhere -p 8080 #设置端口号为 8080
anywhere -h localhost #设置 host 为 localhost
anywhere -d /usr # 设置根目录为 /usr 、、、