staticserver
v1.0.6
Published
Simple static web server for development. npm install globally to run from anywhere
Downloads
4
Readme
#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