poorman-http-server

HTTP server for static file

Usage no npm install needed!

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

README

poorman-http-server

Poorman HTTP static file server

Install

sudo npm i -g poorman-http-server

Usage

Default is http-server which is the same as http-server ./ 3000

To server ./public folder on port 8080

http-server public 8080

License

MIT