{"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"],"license":"MIT","version":"0.2.0","engines":{"node":">=0.4.0"},"main":"./faye-redis","dependencies":{"redis":""},"devDependencies":{"jstest":""},"scripts":{"test":"node spec/runner.js"},"bugs":{"url":"http://github.com/faye/faye-redis-node/issues"},"repository":{"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 and\nrouting 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 of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject 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, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","readmeFilename":"README.md","_id":"faye-redis@0.2.0","dist":{"shasum":"16d27144cae49fdd25af6a5fb8e22e9f17ec1bcb","tarball":"https://registry.npmjs.org/faye-redis/-/faye-redis-0.2.0.tgz","integrity":"sha512-MqqbLkdTqTIE80adW2GjsXNR0QLBYAzyoZDRLkVP8KgDf/YOLKCCAhZuOluuvFbx28c4XNk5V0gRQKkfX8yxKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGnWmjGNaGYEvWH/akMZNQGnc2ZdixBzj+ZbI/FS01v0AiBqyY1YnEIbbF/SRZr4w/w8nzRbBu+xVtPoWh1A/xkeNQ=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"jcoglan","email":"jcoglan@gmail.com"},"maintainers":[{"name":"jcoglan","email":"jcoglan@gmail.com"}]}