@cliz/http-server

a simple commandline static http server

Usage no npm install needed!

<script type="module">
  import clizHttpServer from 'https://cdn.skypack.dev/@cliz/http-server';
</script>

README

Static HTTP Server

A simple commandline static server, powered by cliz

Usage

Usage: cliz-http-server [options]

a simple commandline static server

Options:
  -V, --version          output the version number
  -h, --host <PORT>      Listen port
  -p, --port <HOST>      Listen port
  -d, --dir <DIRECTORY>  Listen directory
  -c, --cors             Enable CORS
  -s, --single           Rewrite alk not-found requests to `index.html`
  -C, --cache            Cache files
  --help                 display help for command

LICENSE

MIT