start-express-http
A HTTP listener helper for Express.js
Installation
$ npm install start-express-http --save
Example Usage:
var app = ; // method #1app;// method #2app;// method #3processenvPORT = 3000;// method #4 - do nothing// default port is 3000 // start HTTP serverstartapp;
Hiding Log Output:
By default, this module will show log output similar to the following:
$ npm start✔ Server listening on port: 3000
To hide this log output, set the HIDE_SE_LOG
flag to true
:
$ HIDE_SE_LOG=true npm start
HIDE_SE_LOG
can equal true
or false
(default false
).