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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    146
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    146

Package Sidebar

Install

npm i static-serve

Weekly Downloads

129

Version

0.0.1

License

ISC

Last publish

Collaborators

  • khodor