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'); }) .listen(3000);
$ npm install connect
Range
req.query
要发表评论,您必须先登录。
Connect is a middleware framework for node,
shipping with over 18 bundled middleware and a rich selection of
3rd-party middleware.
Installation
Middleware
Range
and morereq.query
Internals
Links