{"name":"faye-redis","description":"Redis backend engine for Faye","homepage":"http://github.com/faye/faye-redis-node","author":{"name":"James Coglan","email":"jcoglan@gmail.com","url":"http://jcoglan.com/"},"keywords":["pubsub","bayeux"],"version":"0.1.3","engines":{"node":">=0.4.0"},"main":"./faye-redis","dependencies":{"redis":""},"devDependencies":{"jsclass":""},"scripts":{"test":"node spec/runner.js"},"bugs":"http://github.com/faye/faye-redis-node/issues","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"repositories":[{"type":"git","url":"git://github.com/faye/faye-redis-node.git"}],"readme":"# faye-redis [![Build Status](https://secure.travis-ci.org/faye/faye-redis-node.png)](http://travis-ci.org/faye/faye-redis-node)\n\nThis plugin provides a Redis-based backend for the\n[Faye](http://faye.jcoglan.com) messaging server. It allows a single Faye\nservice to be distributed across many front-end web servers by storing state\nand routing messages through a [Redis](http://redis.io) database server.\n\n\n## Usage\n\nPass in the engine and any settings you need when setting up your Faye server.\n\n```js\nvar faye  = require('faye'),\n    redis = require('faye-redis'),\n    http  = require('http');\n\nvar server = http.createServer();\n\nvar bayeux = new faye.NodeAdapter({\n  mount:    '/',\n  timeout:  25,\n  engine: {\n    type:   redis,\n    host:   'redis.example.com',\n    // more options\n  }\n});\n\nbayeux.attach(server);\nserver.listen(8000);\n```\n\nThe full list of settings is as follows.\n\n* <b>`host`</b> - hostname of your Redis instance\n* <b>`port`</b> - port number, default is `6379`\n* <b>`password`</b> - password, if `requirepass` is set\n* <b>`database`</b> - number of database to use, default is `0`\n* <b>`namespace`</b> - prefix applied to all keys, default is `''`\n* <b>`socket`</b> - path to Unix socket if `unixsocket` is set\n\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2011-2013 James Coglan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","readmeFilename":"README.md","_id":"faye-redis@0.1.3","dist":{"shasum":"d124f17e51a59cc719168b581fb7c0c3948d294f","tarball":"https://registry.npmjs.org/faye-redis/-/faye-redis-0.1.3.tgz","integrity":"sha512-6k8nQuSHv2Wd7yUdLFG+QxGFCb+QUzyflyQM+ue9BZ9Adbu4+lj6q+mrsnuPQjNS8p0LSmWp3WJV0EzUGGvoIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpZk8otYYLK7Q58d5UO5u1nWpmt5CMmsf5hSIw6wcwoQIhANIGjLwVop/ofbaJFOgpM1LtxIXw2K7u6+NeIT5JDL7W"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"jcoglan","email":"jcoglan@gmail.com"},"maintainers":[{"name":"jcoglan","email":"jcoglan@gmail.com"}]}