Connect - Connect is a middleware layer for Node.js

Date: Wed Jun 14 2017 Node.JS

Connect is an extensible HTTP server framework for node, providing high performance "plugins" known as middleware.

Connect is bundled with over 14 commonly used middleware, including a logger, session support, cookie parser, and more. Be sure to view the 1.0 documentation.

connect.createServer()

The connect.createServer() method is now optional, and equivalent to connect(). For example:

  connect.createServer(
connect.logger()
, connect.static(__dirname)
).listen(3000);

is the same as:

  connect(
connect.logger()
, connect.static(__dirname)
).listen(3000);

When an options object is passed as the first argument it is assumed to be an https server:

  connect({ options here }
connect.logger()
, connect.static(__dirname)
).listen(443);

Project information
Nameconnect
Ownersenchalabs
LanguagePHP
DescriptionConnect is a middleware layer for Node.js
InformationView Readme.md
Releases
1.xtar.gz | zip