Host static server using streamable objects
$ npm install static-server-stream -g
$ static-server # on directory where to host
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
Oscar Reyes [Nosthertus]