@aleksgidenko/simple-http-server

Simple HTTP Server

Usage no npm install needed!

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

README

Simple HTTP Server

A simple static file server built with pure Node.js without the use of any frameworks or external dependencies.

Installation

Globally via npm

$ npm install -g @aleksgidenko/simple-http-server

Running on-demand

$ npx @aleksgidenko/simple-http-server

As a dependency in your npm package

$ npm install --save-dev @aleksgidenko/simple-http-server

Usage

$ http-server