1.0.0 • Published 4 years ago

quick_web_server v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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 contact@michadevries.nl or take a look at my website here: https://michadevries.nl

I hope you'll enjoy the module.

1.0.0

4 years ago