JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 71
  • Score
    100M100P100Q63642F
  • License ISC

An HTTP Server

Package Exports

  • webserver

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 (webserver) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

WebServer

Copyright 2020 Sleepless Software Inc. All Rights Reserved.

A simple web server with auto reloading

Install

npm i -g webserver

Usage

Serve static files from a directory:

webserver port directory

Framework Style Usage

Create an app dir:ectory

webserver create path/to/myapp

Run the app:

webserver run 3000 path/to/myapp

Experimental

To auto reload when files change (your app has to support this)

webserver run 3000 path/to/myapp true