staticserver

1.0.6 • Public • Published

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

Dependencies (4)

Dev Dependencies (1)

Package Sidebar

Install

npm i staticserver

Weekly Downloads

0

Version

1.0.6

License

none

Last publish

Collaborators

  • j4m355