0.2.3 • Published 10 years ago

serb v0.2.3

Weekly downloads
3
License
BSD
Repository
github
Last release
10 years ago

serb

The serb command-line utility will serve the current working directory over HTTP, much like python's SimpleHTTPServer.

It is, however, a lot more powerful and a lot more flexible.

installation

npm install -g serb

basic usage

~$ serb [root]

That's it. Your cwd or root is at localhost:8000.

advanced usage

serb [options]

Options:
  -h, --help     Display this message and exit                [boolean]  [default: false]
  -p, --port     Port to bind to                              [default: 8000]
  -a, --address  IP address to bind to                        [default: "0.0.0.0"]
  -i, --index    Automatically redirect to index.html         [boolean]  [default: true]
  -d, --dirs     Show directory listings                      [boolean]  [default: false]
  -e, --ext      Assume given extension for URLs lacking one  [default: false]
  -H, --header   Set a "name:value" header (repeatable)
0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

11 years ago

0.0.1

11 years ago