staticserver

Simple static web server for development. npm install globally to run from anywhere

npm install staticserver
11 downloads in the last week
19 downloads in the last month

Simple Static Web Server

A simple static webserver for local hosting. 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

Stuff

Stuff
npm loves you