UNPKG

node-http-server

Version:

A very simple and fast http server for node, bash, and spawnable from C, Python etc. It is lightweight and great for embedded solutions as well as everyday development or public facing apps.

16 lines (13 loc) 317 B
//import the `node-http-server` module //` const server=require(‘node-http-server’); ` const server=require('../../server/Server.js'); //look at the server instance console.log(server); //start the server server.deploy( { verbose:true, port:8000, root:__dirname+'/appRoot/' } );