Nutritious Polygonal Meatball
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

static-serve

0.0.1 • Public • Published

static-serve

A simple development server for static html.

static-serve serves your static html files from the root you specify with gzip compression and optional http authentication.

Installation

$ npm install static-serve -g

Usage

$ static-serve /path/to/html

Browse

Go to http://localhost:8080/

Options

  • -p Port to use, defaults to 8080
  • -U Username for HTTP auth, won't be activated if the field is not set
  • -P Password for HTTP auth, won't be activated if the field is not set

install

npm i static-serve

Downloadsweekly downloads

12

version

0.0.1

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability