Skip to content

superjohan/ohhello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oh, Hello

ohhello is a simple app that responds with HTTP 200 (default) to any incoming request, and prints some info about it. It fits my needs and probably no one else's, but here it is anyway.

Install via npm

Just go npm install -g ohhello if you want to install the app!

Install from source

If you want to install the app globally

npm install -g, then ohhello 3000.

If you don't want to install the app, thank you very much

npm install, then node index.js 3000.

Super advanced usage

ohhello PORT [STATUSCODE]

rm@remember ~> ohhello 3000 401
Oh, hello! Listening on port 3000, sending HTTP 401 to all requests.

About

Oh, Hello — Reply HTTP 200 to all incoming requests and print some info about the request.

Resources

License

Stars

Watchers

Forks

Packages

No packages published