0.4.4 • Published 6 years ago

static-server-stream v0.4.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

static-server-stream

Host static server using streamable objects

Installation

$ npm install static-server-stream -g

Usage

$ static-server # on directory where to host

Documentation

This package supports argument options

-p --Port (Default: 80):

Port to host the server


-d --directory (Default: "./"):

Directory folder which the server will host


-s --ssl (Default: false):

Whether should enable SSL protection to the server


-k --key (Default: null):

The key file for SSL


-c --cert (Default: null):

The certification file for SSL


--http-redirect (Default: false):

Whether the host should create a HTTP server for HTTPS redirection


--from-http-server (Default: 80)

The port value where HTTP server will listen for redirection

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Credits

Oscar Reyes Nosthertus

License

MIT

0.4.4

6 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago