142
St
startsInvasion / files
startsInvasion / node_modules / connect / lib / index.js
1.9 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 * - [basicAuth](middleware-basicAuth.html) basic http authentication 23 * - [bodyParser](middleware-bodyParser.html) extensible request body parser 24 * - [cookieParser](middleware-cookieParser.html) cookie parser 25 * - [session](middleware-session.html) session management support with bundled [MemoryStore](middleware-session-memory.html) 26 * - [compiler](middleware-compiler.html) static asset compiler (sass, less, coffee-script, etc) 27 * - [methodOverride](middleware-methodOverride.html) faux HTTP method support 28 * - [responseTime](middleware-responseTime.html) calculates response-time and exposes via X-Response-Time 29 * - [router](middleware-router.html) provides rich Sinatra / Express-like routing 30 * - [static](middleware-static.html) streaming static file server supporting `Range` and more 31 * - [directory](middleware-directory.html) directory listing middleware 32 * - [vhost](middleware-vhost.html) virtual host sub-domain mapping middleware 33 * - [favicon](middleware-favicon.html) efficient favicon server (with default icon) 34 * - [limit](middleware-limit.html) limit the bytesize of request bodies 35 * - [profiler](middleware-profiler.html) request profiler reporting response-time, memory usage, etc 36 * - [query](middleware-query.html) automatic querystring parser, populating `req.query` 37 * 38 * Internals: 39 * 40 * - connect [utilities](utils.html) 41 * - node monkey [patches](patch.html) 42 * 43 */