0.0.5 • Published 11 years ago

wserv v0.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
11 years ago

wserv

Simple stupid static web server based on Connect, Liftoff, and Commander.

Install

  npm install -g wserv

Usage

Navigate to the folder containing your HTML/JS/CSS source and execute:

wserv [options]

Options

-h, --help          output usage information
-v, --version       output the version number
-p, --port <int>    Set port to serve on, default 8080
-f, --folder <int>  Set directory to serve from, default <Current Folder>

Configuration

You can always place a wserv.json file in any folder to configure wserv's options. This file should follow:

{
  "port": 8080,
  "folder": "../path/relative/to/wserv.json/file",
  "name": "Some Name"
}
0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago