0.0.7 • Published 4 years ago

@alsadi/simple_http_server v0.0.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 years ago

SimpleHttpServer

A simple HTTP Server with no dependencies for NodeJS using native http module in NodeJS

Usage

First install the package

npm install --save '@alsadi/simple_http_server'

Then use it like this in

import {SimpleHttpServer} from "@alsadi/simple_http_server"
(async function() {
    const server = new SimpleHttpServer(["assets", "index.html", "favico.ico"], "./public");
    server.listen(8080);
})();

Advanced Usage

0.0.3

4 years ago

0.0.2

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.1

4 years ago