anylocal

first time to create github

Usage no npm install needed!

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

README

firstgithub

this is my first time to create repository in github, amazing start

To create Node Static Server

安装

npm i -g anylocal

使用方法

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

anylocal -p 8080 # 设置端口号

anylocal -h localhost # 设置host 为localhost

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