JSPM

  • Created
  • Published
  • Downloads 1102
  • Score
    100M100P100Q100243F
  • License BSD-3-Clause

Node.js simple http server for common development or training purposes.

Package Exports

  • web-dev-server

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (web-dev-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Node.js Development HTTP Server

Latest Stable Version License

Node.js simple http server for common development or training purposes.

Instalation

npm install web-dev-server

Usage

var WebDevServer = require("web-dev-server");
var devServerInstance = (new WebDevServer())
    .SetDocumentRoot(__dirname) // required
    // .SetPort(80)             // optional, 8888 by default
    // .SetDefault(false)       // optional, true by default to display Errors and directory content
    .Run();