background preloader

Connect - High quality middleware for node.js

Connect - High quality middleware for node.js
Connect is a middleware framework for node,shipping with over 18 bundled middleware and a rich selection of3rd-party middleware. var app = connect() .use(connect.logger('dev')) .use(connect.static('public')) .use(function(req, res){ res.end('hello world\n'); }) http.createServer(app).listen(3000); Installation: $ npm install connect Middleware: Links:

express - What is a good session store for a single-host Node.js production app node.js - Using MemoryStore in production node.js - How to fix the connection.session issue

Related: