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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.6
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.6
    1
  • 1.0.5
    1
  • 1.0.3
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i staticserver

Weekly Downloads

4

Version

1.0.6

License

none

Last publish

Collaborators

  • j4m355