serv

Serv Read Me ============

npm install serv
2 downloads in the last day
29 downloads in the last week
81 downloads in the last month

Serv Read Me

Ad hoc serving of HTTP requests from any directory.

npm install -g

cd directory/to/serv; serv

$ serv
Serving files from /Users/scothis/Development/cujojs at http://127.0.0.1:8000

By default, serv only allows access from the local machine. This protects your file system from external network access. If remote access is needed, you may specify an IP address to bind to with the -b flag, or --public to allow all network access. Access may still be limited by your machine's firewall.

$ serv -h
Options:
  -h, --help  Show this help message                               [boolean]
  -b, --bind  IP to bind the server to                             [default: "127.0.0.1"]
  -p, --port  port to bin the server to, uses PORT env var if set  [default: 8000]
  --path      file system path to expose                           [default: <current working directory>]
  --public    Change the default host to 0.0.0.0                   [boolean]
npm loves you