quick_web_server
v1.0.0
Published
open a quick web server
Downloads
3
Readme
Quick web server
Get started
To install this package, please run the following command, preferably with levitated permissions.
npm i quick_web_server -g
After you have installed the package, run the following command anywhere in the system to start a webserver.
user@machine ~> quick_web_server
Webserver is listening on port 80, to quit the application, hit CTRL + C.
Port 80 is already in use, what now?
You can change the port by defining a different one within the first argument. In the example we make use of port 8080.
user@machine ~> quick_web_server 8080
Webserver is listening on port 8080, to quit the application, hit CTRL + C.
I'm stuck in the console, how can i quit it?
You can quit the console by hitting the keys CTRL + C at the same time, afterwards you may or may not need to confirm if you really want to quit the application. Answer with Y and then press ENTER.
Final words
I'm open for suggestions, please email me at [email protected] or take a look at my website here: https://michadevries.nl
I hope you'll enjoy the module.