var express = require("express")
, app = express()
, http = require("http").createServer(app)
I constantly see these being put on the dependencies. From my point of understanding, http hosts front-end html? and express holds server-sided nodejs logic? and connect was the base layer of express so is that also a server-sided module?
If that's not the case why not people just do
express().listen(8080)
instead of
require("http").createServer(express()).listen(8080)