1.0.6 • Published 11 years ago

staticserver v1.0.6

Weekly downloads
18
License
-
Repository
github
Last release
11 years ago

#Simple Static Web Server

A simple static webserver built using express ideal for development.

Git clone and install globally... To Install:

-----------
npm install staticserver -g

To Run:
-------
From the directory you want to run:
staticserver

Optional Args:
---------------
-p <port> - for manual port (default to 8000)
-c <true | false> - turn cahce on/off (default true)
-d <path> - Run from a different dir
-l <true | false> - show directory listing
-x <domains seperated by coma> - Allow cross domain requests from named origin CORS
-h - help
--help - the police

Cors should be enabled for all routes

stuff

1.0.6

11 years ago

1.0.5

11 years ago

1.0.3

11 years ago

1.0.0

11 years ago