{"_id":"redis-clustr","_rev":"42-efc89100b53562181ac69aaf16ae8895","name":"redis-clustr","description":"Redis cluster client","dist-tags":{"latest":"1.7.0"},"versions":{"0.0.1":{"name":"redis-clustr","version":"0.0.1","description":"A poor man's redis cluster client","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Simon Tabor"},"license":"MIT","dependencies":{"crc":"~0.2.1","redis":"~0.9.0","hiredis":"~0.1.15"},"_id":"redis-clustr@0.0.1","dist":{"shasum":"f72776c115628d6f3f6f4968c014de24c7ecb270","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-0.0.1.tgz","integrity":"sha512-t+I+wlq1PgRpcnOR2K1bt8KU9RTiGqsvkfEJRTpPXg0L7u445ryPlYkmvakHFDiQkN5rTiNZ7wcsxFho/04tLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBxPKhgsCu0NZY/o0TlDAHI7RsYNfJkqbZQ2geTTCc16AiA8DWTC2B0qYh+ZnHPry2im4EVvXDHEmQ38dAV0jxH/9A=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"directories":{}},"0.0.2":{"name":"redis-clustr","version":"0.0.2","description":"A poor man's redis cluster client","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Simon Tabor"},"license":"MIT","dependencies":{"crc":"~0.2.1","redis":"~0.9.0","hiredis":"~0.1.15"},"_id":"redis-clustr@0.0.2","dist":{"shasum":"def6635f762b9c2833ebc54c4c132499417a07df","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-0.0.2.tgz","integrity":"sha512-SYfjQs7sN8+nSaxN7PvUffTqnfWTBxmVaX5YUJjjmvVLeV4xm4swLTMTcjQU3HFd5sXH5yVmdX50cZGGVTDtFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDBVAQQ24jlGozmK8gkrJqtlSV5fZvYJl8jLYeKKC2fJAiEA+enWH60WSPjG3Ilhh50sUJkDdUmqDSoGtaYExLNI1DA="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"directories":{}},"0.0.3":{"name":"redis-clustr","version":"0.0.3","description":"A poor man's redis cluster client","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Simon Tabor"},"license":"MIT","dependencies":{"crc":"~0.2.1","redis":"~0.9.0","hiredis":"~0.1.15"},"_id":"redis-clustr@0.0.3","dist":{"shasum":"b2729bdcd1b5cefdb349b0ff27bc3b15a7a87d55","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-0.0.3.tgz","integrity":"sha512-VzRG7YdLpXJucB42nfE52P1/NGU0P0q75sG27h+aeOyr5pc52Jk91L2jBrgISxOS7jSDxSV5C1SMyHFuw0SoPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCH0W3C/mo1XfA8vsD5kCYjMs7rbpv60hPzsOyYIXEhYQIgKyUdPRtECDtWapL6G557/EMkVhUPocCPp67Qkjz6j2k="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"directories":{}},"0.0.4":{"name":"redis-clustr","version":"0.0.4","description":"A poor man's redis cluster client","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Simon Tabor"},"license":"MIT","dependencies":{"crc":"~0.2.1","redis":"~0.9.0","hiredis":"~0.1.15"},"_id":"redis-clustr@0.0.4","dist":{"shasum":"fca2597bde3f1a85d3884530a91e9742fe69dae0","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-0.0.4.tgz","integrity":"sha512-OQApZas8v+ezJ5Ggii6810EC4QLyeneohC30gWAdDSOomxQUJMK/UNF25R4gEXiWdlebqkMt/dNuQuIzIKyx5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxJXd4ufHlsZBlmi+FpljLcFRqXnBEe7uYbiIlX2qGdgIgOuXE220sCcF4Y1Pq9sEOtOzektdZRiMrUwgvOhtNEKE="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"directories":{}},"0.0.5":{"name":"redis-clustr","version":"0.0.5","description":"A poor man's redis cluster client","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Simon Tabor"},"license":"MIT","dependencies":{"crc":"~0.2.1","redis":"~0.9.0","hiredis":"~0.1.15"},"_id":"redis-clustr@0.0.5","_shasum":"d47d8b5e38ab8bd1527b249f67ef9a457fca18c2","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"dist":{"shasum":"d47d8b5e38ab8bd1527b249f67ef9a457fca18c2","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-0.0.5.tgz","integrity":"sha512-6R4ma6AcwEZjAgQ14fhzcPymi8AoaT/PPGkxi3VIem92rWbPxINiLLe0oyC0se16imk2RYNQRxnIRKwk/lGrHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGnwbRf9CAIFWe1gJoQivYxKguh5TfdhBCRmGilb2i9gIgWJy7KQ/w31pbKZ+oiDcxgY+o2uILcVzO7YUOqDa/UV4="}]},"directories":{}},"0.0.6":{"name":"redis-clustr","version":"0.0.6","description":"A poor man's redis cluster client","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Simon Tabor"},"license":"MIT","dependencies":{"crc":"~0.2.1","hiredis":"^0.1.17","redis":"^0.12.1"},"gitHead":"6b3b7a7f43346f81e834cecf257d99ae59090e7a","_id":"redis-clustr@0.0.6","_shasum":"b9fa03c0832564981ae2e7aa56b82cc692204f4d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"dist":{"shasum":"b9fa03c0832564981ae2e7aa56b82cc692204f4d","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-0.0.6.tgz","integrity":"sha512-4xRunsw8XBcc89aXJBO9mWOG6qhWqWLzSstaVfmms4FbQrfYAN5Nc6Zg0r+r9rN2SfzmzBR8ykNHhrCsgwLREA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1zF099Yyvo+KalFb93f63o5CKsMxej+fgEmDhC7rKxgIhAKApkSsEfaHj8hHRNovCRCMsDb04jAW7R/V7VvAXpRL+"}]},"directories":{}},"0.1.0":{"name":"redis-clustr","version":"0.1.0","description":"A poor man's redis cluster client","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Simon Tabor"},"license":"MIT","dependencies":{"crc":"~0.2.1","hiredis":"^0.1.17","redis":"^0.12.1"},"gitHead":"c6f15f660a5059b47497f0a42ab6ba4318cc9a95","_id":"redis-clustr@0.1.0","_shasum":"dd5a907fc66f2e8b530b12c761caa5783acba302","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"dist":{"shasum":"dd5a907fc66f2e8b530b12c761caa5783acba302","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-0.1.0.tgz","integrity":"sha512-xxreQKjQy2xlz1wGQesZhUBlsrhBJVbM5XSiHnICUlkLGk3bTE1Mw9BHyw7Vb7qjepdDWabGnDFZdV7XQ8CzkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrLCbi2BPtb3yOcbWexDRLpqVbqZOd98BonqjKpA927AIhAMz/sKYk7TR2n04p0KDvtEnhTgaHrAzxtmQznUsqVJR/"}]},"directories":{}},"0.1.1":{"name":"redis-clustr","version":"0.1.1","description":"A poor man's redis cluster client","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Simon Tabor"},"license":"MIT","dependencies":{"crc":"~0.2.1","hiredis":"^0.1.17","redis":"^0.12.1"},"gitHead":"b6d522f728c5b0dd07996a67c9183dd3492b58c9","_id":"redis-clustr@0.1.1","_shasum":"7f16e5a9e19c566cb7571cc5f13c8d471b23e82a","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.32","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"dist":{"shasum":"7f16e5a9e19c566cb7571cc5f13c8d471b23e82a","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-0.1.1.tgz","integrity":"sha512-3Zb4n8XSGrsChxfGsG1kBo8SsCqC1ShvLQJvVAJDR4bsPW5S/acSw2wF6nDybEGoHIbUMnbH8LJjZytLNSBkQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH1w0TqbNXnmLXHDRcmPrpWHprJEqWa8iz0Ik+oQSQYNAiEArw4xZQqNeaNN4ykyCCzr42LV+jkxk4lNg0pyQUqNF6w="}]},"directories":{}},"0.1.2":{"name":"redis-clustr","version":"0.1.2","description":"A poor man's redis cluster client","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Simon Tabor"},"license":"MIT","dependencies":{"crc":"~0.2.1","redis":"^0.12.1","hiredis":"^0.2.0"},"optionalDependencies":{"hiredis":"^0.2.0"},"gitHead":"dccb3d4d7104e91ba4db9f1672db3f8d3e481def","_id":"redis-clustr@0.1.2","_shasum":"736874174ea3e6b85dbff8495cca4602390c835f","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.32","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"dist":{"shasum":"736874174ea3e6b85dbff8495cca4602390c835f","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-0.1.2.tgz","integrity":"sha512-coK/MToRj3T/V4vkOcxKBlrcBozgTDWXMt0sFvncUKDCZKqJ1/rm8cqxbQOSZeARICoB8G/WjHYD0UV17azCcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8k+W3l9CkXhDy1d8bilDXwK4qfYn00Vs/d7m45TUX0QIgUYCcRysQuF6xYkc5ppqbBUL/baRqKtho0O5R1OZRs+U="}]},"directories":{}},"1.0.0":{"name":"redis-clustr","version":"1.0.0","description":"Redis cluster client","main":"src/redisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"author":{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"redis":"^0.12.1","hiredis":"^0.2.0"},"optionalDependencies":{"hiredis":"^0.2.0"},"gitHead":"02cbd884445da44989df8cf3cfb809c82c1e2998","homepage":"https://github.com/gosquared/redis-clustr","_id":"redis-clustr@1.0.0","_shasum":"05f3ea537f6bc574e29ef67d01eaeb9c517b9398","_from":".","_npmVersion":"2.1.17","_nodeVersion":"0.10.32","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"dist":{"shasum":"05f3ea537f6bc574e29ef67d01eaeb9c517b9398","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.0.0.tgz","integrity":"sha512-W9WZlRuH3P7dqT6U6V13PRv8WrQs6zEb6pJ7q8YyNM1SEXPqNN8oFOB32vU+omnNcJ3/Asy6A7DwwsslQzjoMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICysw06/gj8kw69N6cqnOy20qaLL29fr+UCceqlbNf1fAiEAvwufxP/j4wkxww6+81pDQXj8q30Tz6F9Ua3WDpjdb6Y="}]},"directories":{}},"1.0.1":{"name":"redis-clustr","version":"1.0.1","description":"Redis cluster client","main":"src/redisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"author":{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"redis":"^0.12.1","hiredis":"^0.4.0"},"optionalDependencies":{"hiredis":"^0.4.0"},"gitHead":"7097b688abeb8fd0726b89fb6237cc2946d35061","homepage":"https://github.com/gosquared/redis-clustr","_id":"redis-clustr@1.0.1","_shasum":"1940ee6475506498c398188af2d33c8486ab8725","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"dist":{"shasum":"1940ee6475506498c398188af2d33c8486ab8725","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.0.1.tgz","integrity":"sha512-U5b66OH8T8CZg7iBqlSKbBMI+pQ8TTlYcM7FHYXzYSyWzsnlwmNQbK+TAMVGU+FbfZryie67BEr8qLCiQBTqmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVkztcTUIMhu8KAd/twL+fm5YEOvRmE2JH6eGAIDYiygIhALgOFzCJYOHmJepiW/AyVfeFFIaHIIRJIE8pe2b5aC3C"}]},"directories":{}},"1.0.2":{"name":"redis-clustr","version":"1.0.2","description":"Redis cluster client","main":"src/redisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"author":{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"redis":"^0.12.1","hiredis":"^0.4.0"},"optionalDependencies":{"hiredis":"^0.4.0"},"gitHead":"0288a6910deaa10d1eb688539050e7d06a80619a","homepage":"https://github.com/gosquared/redis-clustr","_id":"redis-clustr@1.0.2","_shasum":"d27c974a9edd704506ff4b54e12b36f5ef0c939e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"simontabor","email":"me@simontabor.com"}],"dist":{"shasum":"d27c974a9edd704506ff4b54e12b36f5ef0c939e","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.0.2.tgz","integrity":"sha512-/zcf9cpCWTmZga367C9QA6aFlcSdmQvHXqlnOOHQoltx9f9zKIcVdMKJNxrxwL5BeixuNE1LE2YLuR4CkX6RuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDytgmhBv07UVzKKmYXSpuLf18Mxj7wGTp7KWI65SdB8wIgKLOfXHi/iHstVhX+GcR/EDtE4p6MGeWAdnMObUNv9pQ="}]},"directories":{}},"1.1.0":{"name":"redis-clustr","version":"1.1.0","description":"Redis cluster client","main":"src/redisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"author":{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"redis":"^2.3.0","hiredis":"^0.4.0"},"optionalDependencies":{"hiredis":"^0.4.0"},"gitHead":"2e35955cdc19a118f304a18f3dc6c46686494ad8","homepage":"https://github.com/gosquared/redis-clustr","_id":"redis-clustr@1.1.0","_shasum":"01c437664837b5dcfd73bdc229adece2aa41fe8f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"gosquared","email":"support+npm@gosquared.com"},{"name":"jt","email":"jt@gosquared.com"},{"name":"simontabor","email":"me@simontabor.com"},{"name":"thedeveloper","email":"geoff@gosquared.com"}],"dist":{"shasum":"01c437664837b5dcfd73bdc229adece2aa41fe8f","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.1.0.tgz","integrity":"sha512-BL2BpVp0YbExTaM8EmyfBsrqYuD+4lB6HwbH7CdHLmYu4Jy7CaleyPk2zrzlNhzFs/Dy+8N1/9UESMuwmXCjFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID1LbPNkR9cvjOhEhQnwA7yHaEY6APd7SCwvVdvoPZaPAiBaD6aR0Z7ZcbH7xIbU40En6d3KQwoG8Izm2oDsaA0smg=="}]},"directories":{}},"1.3.0":{"name":"redis-clustr","version":"1.3.0","description":"Redis cluster client","main":"src/redisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"author":{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"double-ended-queue":"^2.1.0-0","redis":"^2.3.0","hiredis":"^0.4.0"},"optionalDependencies":{"hiredis":"^0.4.0"},"gitHead":"abfc384aebb2c1cb4a3db3d51c77b87320d319f6","homepage":"https://github.com/gosquared/redis-clustr","_id":"redis-clustr@1.3.0","_shasum":"a2ef86c7ad86c53da446f2ff96200d1d98479842","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"gosquared","email":"support+npm@gosquared.com"},{"name":"jt","email":"jt@gosquared.com"},{"name":"simontabor","email":"me@simontabor.com"},{"name":"thedeveloper","email":"geoff@gosquared.com"}],"dist":{"shasum":"a2ef86c7ad86c53da446f2ff96200d1d98479842","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.3.0.tgz","integrity":"sha512-i/JW/SCw5wD/e8dv8m7+vFrKonr4njgrNTPEtFtITZyFgyJnxIMKn4WT9bb9mXsUkURLqqKUxEAZQ68bMlEYqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICPGuzH/Xi1InO9uXq9DJl1pngVSJNVmDaq+q+Na0S6QAiB8CtuoW930ALAKiVo5k1+oZEv6lSgILbEc6EgX3Gswsg=="}]},"directories":{}},"1.4.0":{"name":"redis-clustr","version":"1.4.0","description":"Redis cluster client","main":"src/RedisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"author":{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"mocha test/test.js"},"dependencies":{"double-ended-queue":"^2.1.0-0","redis":"^2.3.0","hiredis":"^0.4.0"},"optionalDependencies":{"hiredis":"^0.4.0"},"devDependencies":{"js-beautify":"^1.5.10","mocha":"^2.3.4"},"gitHead":"005ef0779b4cb43b777af3e3afba7b255bcd112b","homepage":"https://github.com/gosquared/redis-clustr","_id":"redis-clustr@1.4.0","_shasum":"1d03928e5da88b0dc4b024ce1ee35d9c807b74c0","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"gosquared","email":"support+npm@gosquared.com"},{"name":"jt","email":"jt@gosquared.com"},{"name":"simontabor","email":"me@simontabor.com"},{"name":"thedeveloper","email":"geoff@gosquared.com"}],"dist":{"shasum":"1d03928e5da88b0dc4b024ce1ee35d9c807b74c0","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.4.0.tgz","integrity":"sha512-0WG4R/sCFoYUVXV8VauR/XroayOFG2ikteUvjopelAMGYOX3/ycBh2Svz6c6jBkFtaC3MzP1WnArmrp4GFdB4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsAHZx4vmb55KaaurBREW7auXTBhkNDFh+OlhQM6xbggIhANf6ErEt6x0kzyozfVxp/NuSqssMcc2BxFqUHF8XlUhJ"}]},"directories":{}},"1.4.1":{"name":"redis-clustr","version":"1.4.1","description":"Redis cluster client","main":"src/RedisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"author":{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"mocha test/test.js"},"dependencies":{"double-ended-queue":"^2.1.0-0","redis":"^2.4.0","hiredis":"^0.4.0"},"optionalDependencies":{"hiredis":"^0.4.0"},"devDependencies":{"js-beautify":"^1.5.10","mocha":"^2.3.4"},"gitHead":"68e51b6e259e674e14d03475a547b6c11b86c7cb","homepage":"https://github.com/gosquared/redis-clustr","_id":"redis-clustr@1.4.1","_shasum":"8c1a17f4926aafb643a481b0f88fe22d0af2f629","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"gosquared","email":"support+npm@gosquared.com"},{"name":"jt","email":"jt@gosquared.com"},{"name":"simontabor","email":"me@simontabor.com"},{"name":"thedeveloper","email":"geoff@gosquared.com"}],"dist":{"shasum":"8c1a17f4926aafb643a481b0f88fe22d0af2f629","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.4.1.tgz","integrity":"sha512-3s75xj+7RGhHOeOHzqCymPYrtp+iWBLz7slyF7kDWyA85s8G6Hq0lxtBm6PaqqhvPN2+51rY35+5miqd8jwteg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDegaxDodOWdH2EzajnIs+oXRu7rb6kJNxfSxEbJ3vw4gIgCLm9nQ+bnuIGs+0UAPHPqfFqq89HGTUGDz3nhZm86us="}]},"directories":{}},"1.4.2":{"name":"redis-clustr","version":"1.4.2","description":"Redis cluster client","main":"src/RedisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"author":{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"mocha test/test.js"},"dependencies":{"double-ended-queue":"^2.1.0-0","redis":"^2.4.0","hiredis":"^0.4.0"},"optionalDependencies":{"hiredis":"^0.4.0"},"devDependencies":{"js-beautify":"^1.5.10","mocha":"^2.3.4"},"gitHead":"cd03602aaf0ca8c6232ceb4ecf6b7a02cdbaf8ce","homepage":"https://github.com/gosquared/redis-clustr","_id":"redis-clustr@1.4.2","_shasum":"27cad26ec221146296ffc22a1534485b5054c3b1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"maintainers":[{"name":"gosquared","email":"support+npm@gosquared.com"},{"name":"jt","email":"jt@gosquared.com"},{"name":"simontabor","email":"me@simontabor.com"},{"name":"thedeveloper","email":"geoff@gosquared.com"}],"dist":{"shasum":"27cad26ec221146296ffc22a1534485b5054c3b1","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.4.2.tgz","integrity":"sha512-Eg8BBhzy68EZ+XSaBM179jqm0a5J13hosURFHe1mRKI2uT96xQHk8BELx+rM4y746eWZ86auMzYdO8iQ3xl4ZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjgtAKvOPbvbYnBMeIlrSEk91bKM2sF/5xLk8nhSpc+AIhAKMWxt24D5Ca+rwtLw+EOxin8qfM47rYeFOQG7h6R0Di"}]},"directories":{}},"1.4.3":{"name":"redis-clustr","version":"1.4.3","description":"Redis cluster client","main":"src/RedisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"contributors":[{"name":"GoSquared","email":"support+npm@gosquared.com","url":"https://www.gosquared.com"},{"name":"James Taylor","email":"jt@gosquared.com","url":"https://www.gosquared.com"},{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"}],"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"mocha test/test.js"},"dependencies":{"double-ended-queue":"^2.1.0-0","redis":"~2.5.0","hiredis":"^0.4.0"},"optionalDependencies":{"hiredis":"^0.4.0"},"devDependencies":{"js-beautify":"^1.5.10","mocha":"^2.3.4"},"gitHead":"15c2adaefadf0699ce73a4aec788fe775e116877","homepage":"https://github.com/gosquared/redis-clustr#readme","_id":"redis-clustr@1.4.3","_shasum":"199de2ab730da7a328cb58b3bcec35f787743fbc","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"jt","email":"jt@gosquared.com"},"dist":{"shasum":"199de2ab730da7a328cb58b3bcec35f787743fbc","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.4.3.tgz","integrity":"sha512-/6x1GVUDH4uT6TWRuDg/D7mrTmNtA3OLemHJMMrz9tjVHGp8FKpt7arsjFwoVQvwV66pdn5MN3QSClEVJGBuuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBhHbSnNf/0gwRegvD6vVFkfQLNvLAYk9XgyCtrI1i3NAiEAhJM3ldH33ufy94hRb4D3a78WrB+VqVccwduLrmbx3Yg="}]},"maintainers":[{"name":"gosquared","email":"support+npm@gosquared.com"},{"name":"jt","email":"jt@gosquared.com"},{"name":"simontabor","email":"me@simontabor.com"},{"name":"thedeveloper","email":"geoff@gosquared.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/redis-clustr-1.4.3.tgz_1464953832060_0.40731554781086743"},"directories":{}},"1.5.0":{"name":"redis-clustr","version":"1.5.0","description":"Redis cluster client","main":"src/RedisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"contributors":[{"name":"GoSquared","email":"support+npm@gosquared.com","url":"https://www.gosquared.com"},{"name":"James Taylor","email":"jt@gosquared.com","url":"https://www.gosquared.com"},{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"}],"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"mocha test/test.js"},"dependencies":{"cluster-key-slot":"^1.0.5","double-ended-queue":"^2.1.0-0","redis":"^2.6.0"},"devDependencies":{"js-beautify":"^1.5.10","mocha":"^2.3.4"},"gitHead":"fdc4cfc90976dc180a6742b81aeb94049274b3cc","homepage":"https://github.com/gosquared/redis-clustr#readme","_id":"redis-clustr@1.5.0","_shasum":"15798c76025af6e4079d419795c079a369cdc09f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"jt","email":"jt@gosquared.com"},"dist":{"shasum":"15798c76025af6e4079d419795c079a369cdc09f","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.5.0.tgz","integrity":"sha512-n7vMAFUl8IYlkcgvtnWaY8XZvuBbxJ8ZTIh+Ra8lQjC7N3WBzciPd+jBbXQNeayqfcyLeSlDjQBTIn8aYx05EA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD31T4yFxnGcmCzFBpBxK8E8l7ngt/6t7SxTcrXvrUOSwIhAK5kX39WDOje/m+5eZLOWMaq8BvZFo8zQPaOb/XYT7ou"}]},"maintainers":[{"name":"gosquared","email":"support+npm@gosquared.com"},{"name":"jt","email":"jt@gosquared.com"},{"name":"simontabor","email":"me@simontabor.com"},{"name":"thedeveloper","email":"geoff@gosquared.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/redis-clustr-1.5.0.tgz_1465825065891_0.19084169785492122"},"directories":{}},"1.5.1":{"name":"redis-clustr","version":"1.5.1","description":"Redis cluster client","main":"src/RedisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"contributors":[{"name":"GoSquared","email":"support+npm@gosquared.com","url":"https://www.gosquared.com"},{"name":"James Taylor","email":"jt@gosquared.com","url":"https://www.gosquared.com"},{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"}],"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"mocha test/test.js"},"dependencies":{"cluster-key-slot":"^1.0.5","double-ended-queue":"^2.1.0-0","redis":"^2.6.0"},"devDependencies":{"js-beautify":"^1.5.10","mocha":"^2.3.4"},"gitHead":"edc0b8a4290cc6b7b2353b04bd944b5b4be15adf","homepage":"https://github.com/gosquared/redis-clustr#readme","_id":"redis-clustr@1.5.1","_shasum":"152938c7f78142894a76267225528b7fa64eb376","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"jt","email":"jt@gosquared.com"},"dist":{"shasum":"152938c7f78142894a76267225528b7fa64eb376","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.5.1.tgz","integrity":"sha512-LSvrDZJN135yVfcTLRkk/PQXnpTbRB2L2y2U/6wszu9KKxs1bOlVV1Fnj09ds9rX/GV7eJegeIr1Cr4/WnZuyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAflYUERBKJlziQJrKnLEnO90hvGTnC7OtqBwdB5lRTZAiBxS+HX7PgD8cCMEURgXzp/ASXPWnYwVHvOt6AL+h7LjA=="}]},"maintainers":[{"name":"gosquared","email":"support+npm@gosquared.com"},{"name":"jt","email":"jt@gosquared.com"},{"name":"simontabor","email":"me@simontabor.com"},{"name":"thedeveloper","email":"geoff@gosquared.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/redis-clustr-1.5.1.tgz_1473070334262_0.7786936664488167"},"directories":{}},"1.5.2":{"name":"redis-clustr","version":"1.5.2","description":"Redis cluster client","main":"src/RedisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"contributors":[{"name":"GoSquared","email":"support+npm@gosquared.com","url":"https://www.gosquared.com"},{"name":"James Taylor","email":"jt@gosquared.com","url":"https://www.gosquared.com"},{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"}],"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"mocha test/test.js","benchmark":"node benchmark/"},"dependencies":{"cluster-key-slot":"^1.0.5","denque":"^1.1.0","redis":"^2.6.0"},"devDependencies":{"benchmark":"^2.1.1","js-beautify":"^1.5.10","mocha":"^2.3.4"},"gitHead":"5cea8b9d39b15a977f2e96f1338c839570d58865","homepage":"https://github.com/gosquared/redis-clustr#readme","_id":"redis-clustr@1.5.2","_shasum":"06bbd7d465c2c26ce8ecd65ffbc87cbcf5d70871","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"jt","email":"jt@gosquared.com"},"dist":{"shasum":"06bbd7d465c2c26ce8ecd65ffbc87cbcf5d70871","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.5.2.tgz","integrity":"sha512-YxfHcMfkdXOUV+mzflVQKztieF6aTr5YUHaGTCxklErMdScHIXxWKhVpcTLOGvowcCbElu013ifA/+WhKTJzCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICroAa6dpCDbXNlElLV+2tLRgCHaTcYGnPM/DPeGlqO1AiAm7FEuG+WKadMj8CnQazvhrcdjoPpWiAnj6EYjBHVdNQ=="}]},"maintainers":[{"name":"gosquared","email":"support+npm@gosquared.com"},{"name":"jt","email":"jt@gosquared.com"},{"name":"simontabor","email":"me@simontabor.com"},{"name":"thedeveloper","email":"geoff@gosquared.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/redis-clustr-1.5.2.tgz_1476798796603_0.157784920418635"},"directories":{}},"1.6.0":{"name":"redis-clustr","version":"1.6.0","description":"Redis cluster client","main":"src/RedisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"contributors":[{"name":"GoSquared","email":"support+npm@gosquared.com","url":"https://www.gosquared.com"},{"name":"James Taylor","email":"jt@gosquared.com","url":"https://www.gosquared.com"},{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"}],"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"mocha test/test.js","benchmark":"node benchmark/"},"dependencies":{"cluster-key-slot":"^1.0.5","denque":"^1.1.0","redis":"^2.6.0"},"devDependencies":{"benchmark":"^2.1.1","js-beautify":"^1.5.10","mocha":"^2.3.4"},"gitHead":"355325582c8c4a64d36b26ddbae298d6308623ab","homepage":"https://github.com/gosquared/redis-clustr#readme","_id":"redis-clustr@1.6.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jt","email":"jt@gosquared.com"},"dist":{"integrity":"sha512-a7pt7y8qLCHUPIHB2nprQfprkrYUrzpdxkzmNIaJAwCrdn5wJPDaDr6j+2EAZoMfXYMiwxehPOCFLgi8Z171mw==","shasum":"cd4fb47cc273902411e9b178b066de8b267116fd","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.6.0.tgz","fileCount":17,"unpackedSize":61468,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzT1TC51KBxfrsp7e5+zn1xT50dtGC6Um1CXpeoLqcHwIgfTPTleFqcD6Kfqfnl7znlqIea4puZrrdNo97HuQunb8="}]},"maintainers":[{"email":"support+npm@gosquared.com","name":"gosquared"},{"email":"jt@gosquared.com","name":"jt"},{"email":"me@simontabor.com","name":"simontabor"},{"email":"mail@geoffwagstaff.com","name":"thedeveloper"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redis-clustr_1.6.0_1521642264000_0.5353681274582163"},"_hasShrinkwrap":false},"1.7.0":{"name":"redis-clustr","version":"1.7.0","description":"Redis cluster client","main":"src/RedisClustr.js","keywords":["redis","cluster","database"],"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"contributors":[{"name":"GoSquared","email":"support+npm@gosquared.com","url":"https://www.gosquared.com"},{"name":"James Taylor","email":"jt@gosquared.com","url":"https://www.gosquared.com"},{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"}],"license":"MIT","repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"scripts":{"test":"mocha test/test.js","benchmark":"node benchmark/"},"dependencies":{"cluster-key-slot":"^1.0.5","denque":"^1.1.0","redis":"^2.6.0"},"devDependencies":{"benchmark":"^2.1.1","js-beautify":"^1.5.10","mocha":"^2.3.4"},"gitHead":"50b4652cda6a94e9188965f34c4b21826ffdaecb","homepage":"https://github.com/gosquared/redis-clustr#readme","_id":"redis-clustr@1.7.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"simontabor","email":"me@simontabor.com"},"dist":{"integrity":"sha512-2ymAf9r25Kp/C1X9WhvCtlu3kaH5D/MaUPW0JQ1dddueGzMzK9oOZUsD9yZH/kmc2ss/f89onZYcFHNAfm7WcQ==","shasum":"803e815ce2b3d87dae619bde530ca9fc04bd36a0","tarball":"https://registry.npmjs.org/redis-clustr/-/redis-clustr-1.7.0.tgz","fileCount":17,"unpackedSize":62238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcioDuCRA9TVsSAnZWagAA9D8QAINpxrmMdEdS8XpfsAcg\nBO1oNuUEFSMysAw6UaZQxFutA2uA7cQ14mydi6Zeead6Dxu6UXKRhzmJRzML\nfXe6usQUA0Zjyy3JF1fTozYcFuE2ol7nboW99Dm9jNzAYF0JUNu4Wd+1Orms\nTBO255VsZkqF/64VNQ9zcKjUWYvG73M5bFLhBbYsRzyDRjlMJzUGLueRYN6o\nKyskmLm/gipMvHGn6iZImse1PqB0xkivbTvHwQ0AsU4zCG0L0U3ce4D3TSo8\npnQV1bumwm2GUtiQk8gn0eK0f12IwRXz+Q7EyTd95fv2piJPdrW1ZhjdSfE/\nsPN01urRATZXp7mW7T//q+p1pYdM0klyixYL7ClI6UZ+ryNsyCa1hAShV5oy\nCfpXt0NKCz+nsy8ZMC0MWTjycra9UB+Gesdea2VtplSMuk5eWMq2pB0o3rzN\nvRlfTG7eUkwJPO9tc8PEoroBZhxs396R4l8Q02ikmhEdWkzQ1I6gvNTb7fSh\n2pzocmEhQ+XZGBewJTRFfgfQADL4UpccfS3DVovDQGDE6ck2ATZIH1Oh3iAq\nZeNvLe99UZkocLgh3fl029DrPICqIEKqIvBr2RJGjgNmxUrEbcmIvCz9HLlX\n6zGI8KVPRpoZRg0XLeGENQMIve221wPclJoYtfEW0LoYxcPsPC3LXahbooqE\n+EsR\r\n=Zm/K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBwagEGVL3I1TXsuA6cOR3nFKKMYxO2L7N2w53wCTREAiB0BGCL5Jb06t6lgbjVQUgmI7rfunS8MiWqdggziE9Guw=="}]},"maintainers":[{"email":"support+npm@gosquared.com","name":"gosquared"},{"email":"jt@gosquared.com","name":"jt"},{"email":"me@simontabor.com","name":"simontabor"},{"email":"mail@geoffwagstaff.com","name":"thedeveloper"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redis-clustr_1.7.0_1552580845792_0.6790524215366314"},"_hasShrinkwrap":false}},"readme":"# redis-clustr\n\n[![Dependencies](https://david-dm.org/gosquared/redis-clustr.svg)](https://david-dm.org/gosquared/redis-clustr)\n[![Join the chat at https://gitter.im/gosquared/redis-clustr](https://img.shields.io/badge/gitter-join%20chat-blue.svg)](https://gitter.im/gosquared/redis-clustr)\n\n[![NPM](https://nodei.co/npm/redis-clustr.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/redis-clustr)\n\nThis module is a relatively thin wrapper around the node redis client to enable use of [Redis Cluster](http://redis.io/topics/cluster-spec). It tries to be as unobtrusive as possible - mimicing the behaviour of the [node_redis](https://github.com/mranney/node_redis) client.\n\n\n## Usage\n\n\n```javascript\nvar RedisClustr = require('redis-clustr');\n\nvar redis = new RedisClustr({\n  servers: [\n    {\n      host: '127.0.0.1',\n      port: 7000\n    }\n  ]\n});\n\nredis.set('key', 'value');\n```\n\n### Servers\n\nServers in the cluster will be automatically connected to (via the response of `cluster slots`). Of course, to allow discovery there must be at least one server specified in the configuration.\n\n### Client creation\n\nBy default, clients will be created using `Redis.createClient(port, host)`. This can be overridden by providing a function which *must* return a [node_redis](https://github.com/mranney/node_redis) client. Clients are cached so only one connection will be made to each server.\n\n```javascript\nvar RedisClustr = require('redis-clustr');\nvar RedisClient = require('redis');\nvar redis = new RedisClustr({\n  servers: [...],\n  createClient: function(port, host) {\n    // this is the default behaviour\n    return RedisClient.createClient(port, host);\n  }\n});\n```\n\n### Options\n\n```javascript\nvar RedisClustr = require('redis-clustr');\nvar redis = new RedisClustr({\n  servers: [...],\n  slotInterval: 1000, // default: none. Interval to repeatedly re-fetch cluster slot configuration\n  maxQueueLength: 100, // default: no limit. Maximum length of the getSlots queue (basically number of commands that can be queued whilst connecting to the cluster)\n  queueShift: false, // default: true. Whether to shift the getSlots callback queue when it's at max length (error oldest callback), or to error on the new callback\n  wait: 5000, // default: no timeout. Max time to wait to connect to cluster before sending an error to all getSlots callbacks\n  slaves: 'share', // default: 'never'. How to direct readOnly commands: 'never' to use masters only, 'share' to distribute between masters and slaves or 'always' to  only use slaves (if available)\n  createClient: function(port, host, options) {\n    return require('redis').createClient(port, host, options);\n  }, // default: redis.createClient. Function used to connect to redis, called with arguments above\n  redisOptions: {\n    // options passed to the node_redis client https://github.com/NodeRedis/node_redis#options-is-an-object-with-the-following-possible-properties\n    retry_max_delay: 500\n    // etc\n  }\n});\n```\n\n\n## Supported functionality\n\n### Slot reallocation\n\nSupported - when a response is given with a `MOVED` error, we will immediately re-issue the command on the other server and run another `cluster slots` to get the new slot allocations. `ASK` redirection is also supported - we wil re-issue the command without updating the slots. `TRYAGAIN` responses will be retried automatically.\n\n### Multi / Exec (Batch)\n\nMulti commands are *supported* but treated as a batch of commands (not an actual multi) and the response is recreated in the original order. Commands are grouped by node and sent as [node_redis batches](https://github.com/NodeRedis/node_redis#clientbatchcommands)\n\n### Multi-key commands (`del`, `mget` and `mset`)\n\nMulti-key commands are also supported and will be split into individual commands (using a batch) then have the response recreated. Only `del`, `mget` and `mset` are supported at the moment.\n\n### Pub/Sub\n\nPub/Sub is fully supported. When subscribe is used, a new client will be created (connected to a random node). This client is shared for all subscriptions.\n\n```javascript\nvar RedisClustr = require('redis-clustr');\nvar redis = new RedisClustr({...});\n\nredis.on('message', function(channel, message) { /* ... */ });\n\nredis.subscribe('my-channel', function(err) {\n  redis.publish('my-channel', 'have a lovely day!');\n});\n```\n\n### Errors\n\nJust like node_redis, listen to the `error` event to stop your application from crashing due to errors. Redis Clustr automatically intercepts connection errors and will try to reconnect to the server.\n","maintainers":[{"email":"support+npm@gosquared.com","name":"gosquared-admin"},{"email":"mail@geoffwagstaff.com","name":"thedeveloper"},{"email":"jt@gosquared.com","name":"jt"},{"email":"me@simontabor.com","name":"simontabor"}],"time":{"modified":"2022-06-26T09:43:46.288Z","created":"2013-11-23T16:07:20.502Z","0.0.1":"2013-11-23T16:07:26.459Z","0.0.2":"2013-11-26T12:07:56.657Z","0.0.3":"2013-11-26T12:35:42.011Z","0.0.4":"2013-11-27T14:49:29.097Z","0.0.5":"2014-07-29T17:39:44.275Z","0.0.6":"2014-10-15T11:00:40.927Z","0.1.0":"2014-11-19T10:51:20.062Z","0.1.1":"2015-01-07T19:34:49.480Z","0.1.2":"2015-02-13T12:29:00.079Z","1.0.0":"2015-04-21T11:40:39.720Z","1.0.1":"2015-07-15T15:40:29.299Z","1.0.2":"2015-08-28T11:44:34.921Z","1.1.0":"2015-11-14T19:48:29.030Z","1.3.0":"2015-11-20T16:01:27.678Z","1.4.0":"2015-11-24T16:56:15.555Z","1.4.1":"2015-11-25T16:28:54.620Z","1.4.2":"2015-11-26T15:48:18.211Z","1.4.3":"2016-06-03T11:37:13.447Z","1.5.0":"2016-06-13T13:37:48.299Z","1.5.1":"2016-09-05T10:12:15.991Z","1.5.2":"2016-10-18T13:53:18.283Z","1.6.0":"2018-03-21T14:24:24.093Z","1.7.0":"2019-03-14T16:27:25.956Z"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/gosquared/redis-clustr#readme","keywords":["redis","cluster","database"],"repository":{"type":"git","url":"git://github.com/gosquared/redis-clustr.git"},"bugs":{"url":"https://github.com/gosquared/redis-clustr/issues"},"contributors":[{"name":"GoSquared","email":"support+npm@gosquared.com","url":"https://www.gosquared.com"},{"name":"James Taylor","email":"jt@gosquared.com","url":"https://www.gosquared.com"},{"name":"Simon Tabor","email":"me@simontabor.com","url":"http://simontabor.com/"}]}