{ "_args": [ [ { "raw": "connect@^2.8.3", "scope": null, "escapedName": "connect", "name": "connect", "rawSpec": "^2.8.3", "spec": ">=2.8.3 <3.0.0", "type": "range" }, "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/react-native" ] ], "_from": "connect@>=2.8.3 <3.0.0", "_id": "connect@2.30.2", "_inCache": true, "_location": "/connect", "_npmUser": { "name": "dougwilson", "email": "doug@somethingdoug.com" }, "_npmVersion": "1.4.28", "_phantomChildren": { "content-type": "1.0.4", "destroy": "1.0.4", "inherits": "2.0.3", "on-finished": "2.3.0", "parseurl": "1.3.2", "statuses": "1.4.0", "type-is": "1.6.15", "unpipe": "1.0.0" }, "_requested": { "raw": "connect@^2.8.3", "scope": null, "escapedName": "connect", "name": "connect", "rawSpec": "^2.8.3", "spec": ">=2.8.3 <3.0.0", "type": "range" }, "_requiredBy": [ "/react-native" ], "_resolved": "https://registry.npmjs.org/connect/-/connect-2.30.2.tgz", "_shasum": "8da9bcbe8a054d3d318d74dfec903b5c39a1b609", "_shrinkwrap": null, "_spec": "connect@^2.8.3", "_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/react-native", "author": { "name": "TJ Holowaychuk", "email": "tj@vision-media.ca", "url": "http://tjholowaychuk.com" }, "bugs": { "url": "https://github.com/senchalabs/connect/issues" }, "contributors": [ { "name": "Douglas Christopher Wilson", "email": "doug@somethingdoug.com" }, { "name": "Jonathan Ong", "email": "me@jongleberry.com" }, { "name": "Tim Caswell", "email": "tim@creationix.com" } ], "dependencies": { "basic-auth-connect": "1.0.0", "body-parser": "~1.13.3", "bytes": "2.1.0", "compression": "~1.5.2", "connect-timeout": "~1.6.2", "content-type": "~1.0.1", "cookie": "0.1.3", "cookie-parser": "~1.3.5", "cookie-signature": "1.0.6", "csurf": "~1.8.3", "debug": "~2.2.0", "depd": "~1.0.1", "errorhandler": "~1.4.2", "express-session": "~1.11.3", "finalhandler": "0.4.0", "fresh": "0.3.0", "http-errors": "~1.3.1", "method-override": "~2.3.5", "morgan": "~1.6.1", "multiparty": "3.3.2", "on-headers": "~1.0.0", "parseurl": "~1.3.0", "pause": "0.1.0", "qs": "4.0.0", "response-time": "~2.3.1", "serve-favicon": "~2.3.0", "serve-index": "~1.7.2", "serve-static": "~1.10.0", "type-is": "~1.6.6", "utils-merge": "1.0.0", "vhost": "~3.0.1" }, "deprecated": "connect 2.x series is deprecated", "description": "High performance middleware framework", "devDependencies": { "dox": "~0.4.6", "istanbul": "0.3.17", "mocha": "2.2.5", "should": "7.0.2" }, "directories": {}, "dist": { "shasum": "8da9bcbe8a054d3d318d74dfec903b5c39a1b609", "tarball": "https://registry.npmjs.org/connect/-/connect-2.30.2.tgz" }, "engines": { "node": ">= 0.8.0" }, "files": [ "lib/", "LICENSE", "History.md", "Readme.md", "index.js" ], "gitHead": "5412f50bba39cc2e1f2448fd4ca125fdeeef1bf9", "homepage": "https://github.com/senchalabs/connect#readme", "keywords": [ "framework", "web", "middleware", "connect", "rack" ], "license": "MIT", "maintainers": [ { "name": "tjholowaychuk", "email": "tj@vision-media.ca" }, { "name": "creationix", "email": "tim@creationix.com" }, { "name": "jongleberry", "email": "jonathanrichardong@gmail.com" }, { "name": "dougwilson", "email": "doug@somethingdoug.com" } ], "name": "connect", "optionalDependencies": {}, "readme": "# Connect\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n[![Gratipay][gratipay-image]][gratipay-url]\n\n Connect is an extensible HTTP server framework for [node](http://nodejs.org), providing high performance \"plugins\" known as _middleware_.\n\n Connect is bundled with over _20_ commonly used middleware, including\n a logger, session support, cookie parser, and [more](http://senchalabs.github.com/connect). Be sure to view the 2.x [documentation](http://www.senchalabs.org/connect/).\n\n```js\nvar connect = require('connect')\n , http = require('http');\n\nvar app = connect()\n .use(connect.favicon('public/favicon.ico'))\n .use(connect.logger('dev'))\n .use(connect.static('public'))\n .use(connect.directory('public'))\n .use(connect.cookieParser())\n .use(connect.session({ secret: 'my secret here' }))\n .use(function(req, res){\n res.end('Hello from Connect!\\n');\n });\n\nhttp.createServer(app).listen(3000);\n```\n\n## Middleware\n\n - [basicAuth](http://www.senchalabs.org/connect/basicAuth.html)\n - [bodyParser](http://www.senchalabs.org/connect/bodyParser.html)\n - [compress](http://www.senchalabs.org/connect/compress.html)\n - [cookieParser](http://www.senchalabs.org/connect/cookieParser.html)\n - [cookieSession](http://www.senchalabs.org/connect/cookieSession.html)\n - [csrf](http://www.senchalabs.org/connect/csrf.html)\n - [directory](http://www.senchalabs.org/connect/directory.html)\n - [errorHandler](http://www.senchalabs.org/connect/errorHandler.html)\n - [favicon](http://www.senchalabs.org/connect/favicon.html)\n - [json](http://www.senchalabs.org/connect/json.html)\n - [limit](http://www.senchalabs.org/connect/limit.html) - deprecated, do not use\n - [logger](http://www.senchalabs.org/connect/logger.html)\n - [methodOverride](http://www.senchalabs.org/connect/methodOverride.html) - deprecated, use [method-override](https://www.npmjs.org/package/method-override) instead\n - [multipart](http://www.senchalabs.org/connect/multipart.html) - deprecated, use [connect-multiparty](https://www.npmjs.org/package/connect-multiparty) instead\n - [urlencoded](http://www.senchalabs.org/connect/urlencoded.html)\n - [query](http://www.senchalabs.org/connect/query.html)\n - [responseTime](http://www.senchalabs.org/connect/responseTime.html)\n - [session](http://www.senchalabs.org/connect/session.html)\n - [static](http://www.senchalabs.org/connect/static.html)\n - [staticCache](http://www.senchalabs.org/connect/staticCache.html) - deprecated, do not use\n - [subdomains](http://www.senchalabs.org/connect/subdomains.html)\n - [vhost](http://www.senchalabs.org/connect/vhost.html)\n\n## Running Tests\n\nfirst:\n\n $ npm install -d\n\nthen:\n\n $ npm test\n\n## Contributors\n\n https://github.com/senchalabs/connect/graphs/contributors\n\n## Node Compatibility\n\n Connect `< 1.x` is compatible with node 0.2.x\n\n\n Connect `1.x` is compatible with node 0.4.x\n\n\n Connect `2.x` is compatible with node 0.8.x, 0.10.x, and 0.12.x\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/connect.svg\n[npm-url]: https://npmjs.org/package/connect\n[travis-image]: https://img.shields.io/travis/senchalabs/connect/master.svg\n[travis-url]: https://travis-ci.org/senchalabs/connect\n[coveralls-image]: https://img.shields.io/coveralls/senchalabs/connect/master.svg\n[coveralls-url]: https://coveralls.io/r/senchalabs/connect\n[downloads-image]: https://img.shields.io/npm/dm/connect.svg\n[downloads-url]: https://npmjs.org/package/connect\n[gratipay-image]: https://img.shields.io/gratipay/dougwilson.svg\n[gratipay-url]: https://www.gratipay.com/dougwilson/\n", "readmeFilename": "Readme.md", "repository": { "type": "git", "url": "git+https://github.com/senchalabs/connect.git" }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" }, "version": "2.30.2" }