/Reaper-Anydoor

A tiny Nodejs static web server

Primary LanguageJavaScriptMIT LicenseMIT

Reaper-AnyDoor

A tiny Nodejs static web server

Install

  npm i -g reaper-anydoor

How to use?

  any-door # 把当前文件夹作为静态资源根目录

  any-door -p 8080 # 设置端口号为 8080

  any-door -h localhost # 设置 host 为 localhost

  any-door -d /usr # 设置根目录为 /usr