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
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();