191
Pp
particle-play / files
particle-play / node_modules / connect / lib / index.js
2.0 KB
1 2/** 3 * # Connect 4 * 5 * Connect is a middleware framework for node, 6 * shipping with over 11 bundled middleware and a rich choice of 7 * [3rd-party middleware](https://github.com/senchalabs/connect/wiki). 8 * 9 * Installation: 10 * 11 * $ npm install connect 12 * 13 * API: 14 * 15 * - [connect](connect.html) general 16 * - [http](http.html) http server 17 * - [https](https.html) https server 18 * 19 * Middleware: 20 * 21 * - [logger](middleware-logger.html) request logger with custom format support 22 * - [csrf](middleware-csrf.html) Cross-site request forgery protection 23 * - [basicAuth](middleware-basicAuth.html) basic http authentication 24 * - [bodyParser](middleware-bodyParser.html) extensible request body parser 25 * - [cookieParser](middleware-cookieParser.html) cookie parser 26 * - [session](middleware-session.html) session management support with bundled [MemoryStore](middleware-session-memory.html) 27 * - [compiler](middleware-compiler.html) static asset compiler (sass, less, coffee-script, etc) 28 * - [methodOverride](middleware-methodOverride.html) faux HTTP method support 29 * - [responseTime](middleware-responseTime.html) calculates response-time and exposes via X-Response-Time 30 * - [router](middleware-router.html) provides rich Sinatra / Express-like routing 31 * - [static](middleware-static.html) streaming static file server supporting `Range` and more 32 * - [directory](middleware-directory.html) directory listing middleware 33 * - [vhost](middleware-vhost.html) virtual host sub-domain mapping middleware 34 * - [favicon](middleware-favicon.html) efficient favicon server (with default icon) 35 * - [limit](middleware-limit.html) limit the bytesize of request bodies 36 * - [profiler](middleware-profiler.html) request profiler reporting response-time, memory usage, etc 37 * - [query](middleware-query.html) automatic querystring parser, populating `req.query` 38 * - [errorHandler](middleware-errorHandler.html) flexible error handler 39 * 40 * Internals: 41 * 42 * - connect [utilities](utils.html) 43 * - node monkey [patches](patch.html) 44 * 45 */