Skip to content

daviesian/single-page-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Single Page Server

A simple development http server for serving single-page web apps.

Serves static files from a specified directory. If a file doesn't exist, serves a particular file. This is usually index.html for your single-page web app.

Install

npm install single-page-server

How to start

Usage: single-page-server [options]

Options:

  -p, --port     port to listen on (default: 8000)
  -b, --base     static files directory
  -f, --file     main page of the site

Example:

  $ single-page-server -p=3000 -b=app -f=app/index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published