anywhere_cover

create static web server quickly

Usage no npm install needed!

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

README

anywhere_cover

create static web server quickly

安装

npm i   -g anywhere_cover

使用方法

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

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

anywhere_cover -h localhost #设置 host 为 localhost

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