{"_id":"koa-redis","_rev":"43-43991b0f1718709aa6576055a7d20f32","name":"koa-redis","description":"Redis storage for Koa session middleware/cache with Sentinel and Cluster support","dist-tags":{"latest":"4.0.1"},"versions":{"0.0.1":{"name":"koa-redis","description":"koa session with redis","repository":{"type":"git","url":"git://github.com/dead-horse/koa-redis"},"version":"0.0.1","keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"files":["index.js"],"dependencies":{"co-redis":"0.0.2","debug":"0.7.4","redis":"0.10.0"},"devDependencies":{"blanket":"*","contributors":"*","coveralls":"*","koa":"0.1.2","mocha":"*","mocha-lcov-reporter":"*","should":"*","supertest":"0.8.2","travis-cov":"*"},"engines":{"node":">= 0.11.9"},"license":"MIT","bugs":{"url":"https://github.com/dead-horse/koa-redis/issues"},"homepage":"https://github.com/dead-horse/koa-redis","_id":"koa-redis@0.0.1","dist":{"shasum":"b164277d56cee9cb1a2a1da2e182313f61e51b55","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-0.0.1.tgz","integrity":"sha512-WLKmDl4oYTWJtHhTBHlCz9nKLvZTTsc9Hu6jBN2lm07SZAnk/oeImkzc5pMkzRJy1GFU70zUPgcQnVMYr2Q0mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXoC3v3hWe5KsTnoN2+pospx0D7Kvn5ycxzrUaKUDcxAIgZn8mCHOd2474tGRYeHBpiUXn8BC9q+avG11OWzrkXV4="}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"directories":{}},"0.0.2":{"name":"koa-redis","description":"koa session with redis","repository":{"type":"git","url":"git://github.com/dead-horse/koa-redis"},"version":"0.0.2","keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"0.0.2","debug":"0.7.4","redis":"0.10.0"},"devDependencies":{"blanket":"*","contributors":"*","coveralls":"*","koa":"latest","mocha":"*","mocha-lcov-reporter":"*","should":"*","supertest":"0.8.2","travis-cov":"*","koa-sess":"latest"},"engines":{"node":">= 0.11.9"},"license":"MIT","contributors":[{"name":"dead_horse","email":"dead_horse@qq.com","url":"https://github.com/dead-horse"}],"bugs":{"url":"https://github.com/dead-horse/koa-redis/issues"},"homepage":"https://github.com/dead-horse/koa-redis","_id":"koa-redis@0.0.2","dist":{"shasum":"4f58f7084f0a3513e2970389e1a6f2826703bbb0","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-0.0.2.tgz","integrity":"sha512-BNNxP2l2JyLGvxmPN06QN+AI3ED/Zp/kh9nEwO8w5vKf9B90onqJmy/eiUaR3qouY/svquCpu1/ZFfvl9cgO0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4aKXJQRYss8UBOPucG/dy/QAmGWzorXnBWxwy6ake+wIgQL75pGzEdR/epyt/aVfFGt7VGZmeRQRy7Khiaw/4BxQ="}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"directories":{}},"0.0.4":{"name":"koa-redis","description":"koa session with redis","repository":{"type":"git","url":"git://github.com/dead-horse/koa-redis"},"version":"0.0.4","keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"0.0.2","debug":"0.7.4","redis":"0.10.0"},"devDependencies":{"blanket":"*","contributors":"*","coveralls":"*","koa":"*","mocha":"*","mocha-lcov-reporter":"*","should":"*","supertest":"0.8.2","travis-cov":"*","koa-sess":"*","co":"3.0.1"},"engines":{"node":">= 0.11.9"},"license":"MIT","bugs":{"url":"https://github.com/dead-horse/koa-redis/issues"},"homepage":"https://github.com/dead-horse/koa-redis","_id":"koa-redis@0.0.4","dist":{"shasum":"d0968c1603f7b7a1790aba4575af43578a83ecdf","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-0.0.4.tgz","integrity":"sha512-FlGNUFKRIVRVURFC76SjVvjeWq1scY+gGtgLxVYhkDIpwj29xf2s39CsS3wkqjDX0ERpC/sJSrQjG36roE99PA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJuKT0VtOQmOvZSHVEVQW5TWfNeadc7XMwgGkeynnhYQIhAM2At5cbZBfIo4gvsjY9lrBvoKjmRR+QG8DbxWHhXe6d"}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"directories":{}},"0.0.5":{"name":"koa-redis","description":"koa session with redis","repository":{"type":"git","url":"git://github.com/dead-horse/koa-redis"},"version":"0.0.5","keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"1.1.0","debug":"0.7.4","redis":"0.10.0"},"devDependencies":{"autod":"~0.1.0","blanket":"*","co":"3.0.2","contributors":"*","coveralls":"*","koa":"*","koa-sess":"*","mocha":"*","mocha-lcov-reporter":"*","should":"3.1.2","supertest":"0.8.2","travis-cov":"*"},"engines":{"node":">= 0.11.9"},"license":"MIT","bugs":{"url":"https://github.com/dead-horse/koa-redis/issues"},"homepage":"https://github.com/dead-horse/koa-redis","_id":"koa-redis@0.0.5","dist":{"shasum":"9e8dec534818a96272d127771d25cc3a84d98d80","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-0.0.5.tgz","integrity":"sha512-UWnGXbTesLI907PVJOzRw4yAX0+22NTskpSVosMeT1rm6QTMc0kDMxoDNzcEl/Blj5epLivIJ4OzRUTYaKtobA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwIImj6fXBKxAUx6sejvDMU28dN7bStuXe2oBPuXmRSgIhAKOuuk4Tld1BySx73d5ZKe+w14C57JF+pTjJ33JIbeyt"}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"directories":{}},"0.1.0":{"name":"koa-redis","description":"koa session with redis","repository":{"type":"git","url":"git://github.com/dead-horse/koa-redis"},"version":"0.1.0","keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"1.1.0","debug":"0.7.4","redis":"0.10.1"},"devDependencies":{"autod":"~0.1.0","blanket":"*","co":"3.0.4","contributors":"*","coveralls":"*","koa":"~0.5.0","koa-sess":"0.1.0-beta1","mocha":"*","mocha-lcov-reporter":"*","should":"3.1.3","supertest":"0.8.2","travis-cov":"*"},"engines":{"node":">= 0.11.9"},"license":"MIT","bugs":{"url":"https://github.com/dead-horse/koa-redis/issues"},"homepage":"https://github.com/dead-horse/koa-redis","_id":"koa-redis@0.1.0","dist":{"shasum":"ad6e7f041f0e4f09ec370ad025f475ef7258986b","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-0.1.0.tgz","integrity":"sha512-p/P5ZvF+STEtKThqft5RZ/RUIxhj8Jif4Cnv9SX8LopS1L2bqDpGx89mxHpCc3BJaIsAkE/Xd16YiyI/2gvcgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/K6lsebqwEU0Jt7HYGb2n6jExJxIuqbblCmmy/FcAjAiBjCNlrVnrA9T+HbegC+r9CfrT1+XPr9xXe1A41QsrBAg=="}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"directories":{}},"0.1.1":{"name":"koa-redis","description":"koa session with redis","repository":{"type":"git","url":"git://github.com/dead-horse/koa-redis"},"version":"0.1.1","keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"~1.1.0","debug":"~1.0.1","redis":"~0.10.3"},"devDependencies":{"autod":"~0.2.0","blanket":"*","co":"~3.0.6","contributors":"*","coveralls":"*","koa":"~0.7.0","koa-sess":"0.1.0-beta1","mocha":"*","mocha-lcov-reporter":"*","should":"~4.0.1","supertest":"0.8.2","travis-cov":"*"},"engines":{"node":">= 0.11.9"},"license":"MIT","bugs":{"url":"https://github.com/dead-horse/koa-redis/issues"},"homepage":"https://github.com/dead-horse/koa-redis","_id":"koa-redis@0.1.1","dist":{"shasum":"f9c569d50f72604a9cb4be194652a8dfc897e987","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-0.1.1.tgz","integrity":"sha512-lawXSCrVqL9+7Z+OkgSPppkqcf67Y0szQrjDVT+NF7cn4/sXJPEV71CoSwEsyFqQifOEEjGY1AXM5CHLccxijQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBIL+4x2pXPkDukisyUouPSI9yIX7hc4qFVjM6YOBJ2AiABsklgApiYVYqQvAvM8jwqCVPSskRDTUQGNJU64tX1gA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"directories":{}},"1.0.0":{"name":"koa-redis","description":"koa session with redis","repository":{"type":"git","url":"https://github.com/dead-horse/koa-redis"},"version":"1.0.0","keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"~1.1.0","debug":"*","redis":"~0.12.1"},"devDependencies":{"autod":"~0.2.0","blanket":"*","co":"~3.0.6","contributors":"*","coveralls":"*","koa":"~0.13.0","koa-generic-session":"~1.0.0","mocha":"*","mocha-lcov-reporter":"*","should":"~4.0.4","supertest":"0.8.2","travis-cov":"*"},"engines":{"node":">= 0.11.9"},"license":"MIT","contributors":[{"name":"dead-horse","email":"dead_horse@qq.com","url":"https://github.com/dead-horse"}],"gitHead":"2ef6deec9088ef07a198fa0a0e0a185356b6a87a","bugs":{"url":"https://github.com/dead-horse/koa-redis/issues"},"homepage":"https://github.com/dead-horse/koa-redis","_id":"koa-redis@1.0.0","scripts":{},"_shasum":"f83097fa4ea6b12e247e4956e878636aad2513eb","_from":".","_npmVersion":"2.0.0-beta.3","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"dist":{"shasum":"f83097fa4ea6b12e247e4956e878636aad2513eb","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-1.0.0.tgz","integrity":"sha512-rpCFsay4U0MiiEECIw2rVdl0Zc7dTXzCR6l3XqrhDlC3nQ9fTVS3laAiMw2fmjP8E2rrp0NY/a48XQ6SaJVw2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRCdLgnuX9cH7Orim7b4I26LvPW1vcXcb5ajMwYyPuZAIhAJ0GJhh6o2fCWV7YiicMpuWzA0asufcNnZ5bXhMsf2ZQ"}]},"directories":{}},"1.0.1":{"name":"koa-redis","description":"koa session with redis","repository":{"type":"git","url":"git+https://github.com/dead-horse/koa-redis.git"},"version":"1.0.1","keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"~1.1.0","debug":"*","redis":"~0.12.1"},"devDependencies":{"autod":"~0.2.0","blanket":"*","co":"~3.0.6","contributors":"*","coveralls":"*","koa":"~0.13.0","koa-generic-session":"~1.0.0","mocha":"*","mocha-lcov-reporter":"*","should":"~4.0.4","supertest":"0.8.2","travis-cov":"*"},"engines":{"node":">= 0.11.9"},"license":"MIT","contributors":[{"name":"dead-horse","email":"dead_horse@qq.com","url":"https://github.com/dead-horse"}],"gitHead":"3d59090fa41d750d261a36407fcf1100dff0d125","bugs":{"url":"https://github.com/dead-horse/koa-redis/issues"},"homepage":"https://github.com/dead-horse/koa-redis#readme","_id":"koa-redis@1.0.1","scripts":{},"_shasum":"1380159f3f28da494aa36c32527ab3f85cbc8aca","_from":".","_npmVersion":"2.12.0","_nodeVersion":"2.5.2","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"dist":{"shasum":"1380159f3f28da494aa36c32527ab3f85cbc8aca","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-1.0.1.tgz","integrity":"sha512-0nPzCVP+D18PcCQ3IU5+rD0GTeN/lE3lAqJtU/XD3i2xkjySGqLi6UZpgaKku+z4LhAjkSSs7OFYqi7twxYp5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEcnMzbV/oASARy5wpo4+wAlWKljjieoYiNT6KdCeht5AiEAtQZSu8M0me60myw/Fmj+YUxcXwekKewHY4FlT60Frds="}]},"directories":{}},"2.0.1":{"name":"koa-redis","description":"koa session with redis using koa-generic-session","repository":{"type":"git","url":"git+https://github.com/koajs/koa-redis.git"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"homepage":"https://github.com/koajs/koa-redis","version":"2.0.1","files":["index.js"],"scripts":{"test":"istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\"","autod":"autod -w --prefix=~"},"keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"~2.0.0","debug":"~2.2.0","redis":"~2.4.2","hiredis":"~0.4.1"},"devDependencies":{"autod":"2","co-mocha":"~1.1.2","connect":"~3.4.0","connect-redis":"~3.0.2","istanbul":"~0.4.1","koa":"~1.1.2","koa-generic-session":"~1.10.1","mocha":"*","should":"~8.0.2"},"optionalDependencies":{"hiredis":"~0.4.1"},"engines":{"node":">= 4"},"license":"MIT","gitHead":"ceaab3e1205487a3ae4f3fa6030088f4e7dd3714","_id":"koa-redis@2.0.1","_shasum":"1969674cb8f9169b785a49d2c61c7316f0dbe703","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"1969674cb8f9169b785a49d2c61c7316f0dbe703","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-2.0.1.tgz","integrity":"sha512-j3tG/q94Mvvs38dfcLj+0J34TN4ATuh+lfjnfVUoE9bvNz5UuM3MjlFBG67LU79hIWZFo4MtavSC0zXFuHwXGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQIXdx/dT+RUBWQy7Vv1oATPsRw+ZueLgauDav5/AwrAiEAsjws1Eyb7N7FEGAiTkpqzQCVkViJZkeBGpOREtdhtSI="}]},"maintainers":[{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},{"name":"dead_horse","email":"dead_horse@qq.com"}],"directories":{}},"2.1.0":{"name":"koa-redis","description":"koa session with redis using koa-generic-session","repository":{"type":"git","url":"git+https://github.com/koajs/koa-redis.git"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"homepage":"https://github.com/koajs/koa-redis","version":"2.1.0","files":["./index.js"],"scripts":{"test":"istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\"","autod":"autod -w --prefix=~"},"keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"~2.1.0","debug":"~2.2.0","redis":"~2.6.0-2","hiredis":"~0.4.1"},"devDependencies":{"autod":"2.6.0","co-mocha":"~1.1.2","connect":"~3.4.0","connect-redis":"~3.0.2","istanbul":"~0.4.1","koa":"~1.2.0","koa-generic-session":"~1.10.1","mocha":"*","should":"~8.3.2"},"optionalDependencies":{"hiredis":"~0.4.1"},"engines":{"node":">= 4"},"license":"MIT","gitHead":"ada7ea40d2d36e3cb8621eb27175aa5c18fdb32e","_id":"koa-redis@2.1.0","_shasum":"b553017039979d83119442b044564a573437cf24","_from":".","_npmVersion":"3.8.9","_nodeVersion":"4.4.4","_npmUser":{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},"maintainers":[{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},{"name":"dead_horse","email":"dead_horse@qq.com"}],"dist":{"shasum":"b553017039979d83119442b044564a573437cf24","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-2.1.0.tgz","integrity":"sha512-fnInseYbvGmRD1ZyF4kZhobdIlCA+kI7qlffrsfYAYVwcktPcE5fY+0kNG/5ESlkxIsyeIXbB6TWu4Nrw3Sh5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOfCP0Zg5W0zgf2VGP3WvpBsDfMPcxQamt55PwTWUJOAiEAlcDxQ5dh446BotaWd5VcTc4hMclDQgwYbA+HrGgqDn4="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-redis-2.1.0.tgz_1463631009855_0.2616933162789792"},"directories":{}},"2.1.1":{"name":"koa-redis","description":"koa session with redis using koa-generic-session","repository":{"type":"git","url":"git+https://github.com/koajs/koa-redis.git"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"homepage":"https://github.com/koajs/koa-redis","version":"2.1.1","main":"index.js","scripts":{"test":"istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\"","autod":"autod -w --prefix=~"},"keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"~2.1.0","debug":"~2.2.0","redis":"~2.6.0-2","hiredis":"~0.4.1"},"devDependencies":{"autod":"2.6.0","co-mocha":"~1.1.2","connect":"~3.4.0","connect-redis":"~3.0.2","istanbul":"~0.4.1","koa":"~1.2.0","koa-generic-session":"~1.10.1","mocha":"*","should":"~8.3.2"},"optionalDependencies":{"hiredis":"~0.4.1"},"engines":{"node":">= 4"},"license":"MIT","_id":"koa-redis@2.1.1","_shasum":"19e362c5f7c9fca99d9624874c260bb65572b3cb","_resolved":"file:koa-redis-2.1.1.tgz","_from":"koa-redis-2.1.1.tgz","_npmVersion":"3.9.0","_nodeVersion":"4.4.4","_npmUser":{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},"maintainers":[{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},{"name":"dead_horse","email":"dead_horse@qq.com"}],"dist":{"shasum":"19e362c5f7c9fca99d9624874c260bb65572b3cb","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-2.1.1.tgz","integrity":"sha512-/CNb3yRkLatlwOiorAPc8vhHKnbAeXewW6loOoQU4OJMyeDLMuPJGPhPNiLwXbxVqo0mhsDsRMez3c5tKEF9oA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGE76SVE9H7lzu3V2liAFxa/Ea8vbsmIBLW36r2+MgvLAiBZ0dUNGWXb1sex1FrOgEYPrXygg19m2tAqFqn59pGrkQ=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-redis-2.1.1.tgz_1463672814583_0.7010137813631445"},"directories":{}},"2.1.2":{"name":"koa-redis","description":"koa session with redis using koa-generic-session","repository":{"type":"git","url":"git+https://github.com/koajs/koa-redis.git"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"homepage":"https://github.com/koajs/koa-redis","version":"2.1.2","main":"index.js","scripts":{"test":"istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\"","autod":"autod -w --prefix=~"},"keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"~2.1.0","debug":"~2.2.0","redis":"~2.6.0-2","hiredis":"~0.5.0"},"devDependencies":{"autod":"2.7.0","co-mocha":"~1.1.2","connect":"~3.4.0","connect-redis":"~3.1.0","istanbul":"~0.4.1","koa":"~1.2.0","koa-generic-session":"~1.11.3","mocha":"*","should":"~10.0.0"},"optionalDependencies":{"hiredis":"~0.5.0"},"engines":{"node":">= 4"},"license":"MIT","gitHead":"4937da3dfad6bc14b558bb98c34deb3344733a85","_id":"koa-redis@2.1.2","_shasum":"701974aee8730b991ad0b8b49288b24a59526e37","_from":".","_npmVersion":"3.10.5","_nodeVersion":"4.4.4","_npmUser":{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},"maintainers":[{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},{"name":"dead_horse","email":"dead_horse@qq.com"}],"dist":{"shasum":"701974aee8730b991ad0b8b49288b24a59526e37","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-2.1.2.tgz","integrity":"sha512-EfdYC8Q/vH1dmrG/O9n9iR/fkLhmbgzUCmVEteKDiyTlabUUImQz8wg5aQzqw8Iln+8okHgE23CWGc/0GMBvTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5UU1kkVVrdFcuZxkf8D8g55IH8BJjNq4Bq+AhekT4ygIhAN57Ps8rfi8NqftBR/ABjEJLhQlfYICspwbaacUBYjoB"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-redis-2.1.2.tgz_1470365952384_0.04978014063090086"},"directories":{}},"2.1.3":{"name":"koa-redis","description":"koa session with redis using koa-generic-session","repository":{"type":"git","url":"git+https://github.com/koajs/koa-redis.git"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"homepage":"https://github.com/koajs/koa-redis","version":"2.1.3","main":"index.js","scripts":{"test":"istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\"","autod":"autod -w --prefix=~"},"keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"~2.1.1","debug":"~2.3.3","redis":"~2.6.3","hiredis":"~0.5.0"},"devDependencies":{"autod":"2.7.1","co-mocha":"~1.1.3","connect":"~3.5.0","connect-redis":"~3.1.0","istanbul":"~0.4.5","koa":"~1.2.4","koa-generic-session":"~1.11.3","mocha":"*","should":"~11.1.1"},"optionalDependencies":{"hiredis":"~0.5.0"},"engines":{"node":">= 4"},"license":"MIT","gitHead":"97691447b1166bdf0b4076d444e19a7dde70a724","_id":"koa-redis@2.1.3","_shasum":"8fb4b17235abdc0e19f3996f90f690d9b25b2ed1","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.6.0","_npmUser":{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},"maintainers":[{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},{"name":"dead_horse","email":"dead_horse@qq.com"}],"dist":{"shasum":"8fb4b17235abdc0e19f3996f90f690d9b25b2ed1","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-2.1.3.tgz","integrity":"sha512-6MTjlAxHsK1KkCYCSqerwaKkD0ACSfO4kRatfzoJwix9RbSxS5ax7dAP2wgOpcggyC6Rc3/600WwNlE+Rxak3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7X4S+9+qmtdWqDoR69tA1dzO5V0j6rKN4AsUeDlovFwIhALJVDK9oKUhOHvIeulZGAOu0j01sdQz4iPtTbQ8+ewDS"}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/koa-redis-2.1.3.tgz_1480553747224_0.2774676813278347"},"directories":{}},"3.0.0":{"name":"koa-redis","description":"koa session with redis using koa-generic-session","repository":{"type":"git","url":"git+https://github.com/koajs/koa-redis.git"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"homepage":"https://github.com/koajs/koa-redis","version":"3.0.0","main":"index.js","scripts":{"test":"istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\"","autod":"autod -w --prefix=^ --keep=koa -D co-mocha,mocha,istanbul,autod"},"keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"^2.1.1","co-wrap-all":"^1.0.0","debug":"^2.6.3","redis":"^2.7.1","hiredis":"~0.5.0"},"devDependencies":{"autod":"^2.8.0","co-mocha":"^1.2.0","connect":"^3.6.0","connect-redis":"^3.2.0","istanbul":"^0.4.5","koa":"^1.2.4","koa-generic-session":"^1.11.5","mocha":"^3.2.0","should":"^11.2.1"},"optionalDependencies":{"hiredis":"~0.5.0"},"engines":{"node":">= 4"},"license":"MIT","gitHead":"7e4940ab0dd930756e21a600f6d1a010ea4b799a","_id":"koa-redis@3.0.0","_shasum":"a683778408eb80bd22f8317fdc5b1473cbf7b7e3","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"a683778408eb80bd22f8317fdc5b1473cbf7b7e3","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-3.0.0.tgz","integrity":"sha512-g9uZQk9qWcx5HpsSBxqdK5KgQ6eil43P4Sux1EkXP/zq2pbXdc7GLSDz0Rr9tD/c+h7fWa8Dg36h90Wbx/Bwwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6b4BWm1DC3sUPjPPS5gQsmHcew50EhxnnV9ZTIGvZJwIhANNoRoVAjEsyjjmgP1CTNVZ7d0HzWsGEFLrl/OuqOuKY"}]},"maintainers":[{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},{"name":"dead_horse","email":"dead_horse@qq.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-redis-3.0.0.tgz_1492410773574_0.647268857806921"},"directories":{}},"3.1.0":{"name":"koa-redis","description":"koa session with redis using koa-generic-session","repository":{"type":"git","url":"git+https://github.com/koajs/koa-redis.git"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"homepage":"https://github.com/koajs/koa-redis","version":"3.1.0","main":"index.js","scripts":{"test":"istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\"","autod":"autod -w --prefix=^ --keep=koa -D co-mocha,mocha,istanbul,autod"},"keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"^2.1.1","co-wrap-all":"^1.0.0","debug":"^3.0.1","redis":"^2.8.0","hiredis":"~0.5.0"},"devDependencies":{"autod":"^2.9.0","co-mocha":"^1.2.0","connect":"^3.6.3","connect-redis":"^3.3.0","istanbul":"^0.4.5","koa":"^2.3.0","koa-generic-session":"^2.0.0","mocha":"^3.5.0","should":"^13.0.1"},"optionalDependencies":{"hiredis":"~0.5.0"},"engines":{"node":">= 4"},"license":"MIT","gitHead":"b30959b161cd766de01daddad653abaa8f80bea3","_id":"koa-redis@3.1.0","_npmVersion":"5.2.0","_nodeVersion":"8.2.1","_npmUser":{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},"maintainers":[{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},{"name":"dead_horse","email":"dead_horse@qq.com"}],"dist":{"integrity":"sha512-d7t9grNGKezYEdb2kfM641c5TmF6sGG14L1gNA3Zr3psB/vK2NwB9Z2DbuYGCw6NJM7RkrhupHTwtgnPu+WHSg==","shasum":"1e88c7b641c5bda5babbdba1053c6bbf8cadf473","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-3.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdbspoHRb/wXhGplmFABUOkT9FHezqGxEVgaFWZ+a/VwIgZA6mqu3+diwbxnbq7XcPwD36PUGbs0sIWa6dQRw9Q8A="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-redis-3.1.0.tgz_1505015647210_0.5581588728819042"},"directories":{}},"3.1.1":{"name":"koa-redis","description":"koa session with redis using koa-generic-session","repository":{"type":"git","url":"git+https://github.com/koajs/koa-redis.git"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"homepage":"https://github.com/koajs/koa-redis","version":"3.1.1","main":"index.js","scripts":{"test":"istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\"","autod":"autod -w --prefix=^ --keep=koa -D co-mocha,mocha,istanbul,autod"},"keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"^2.1.1","co-wrap-all":"^1.0.0","debug":"^3.0.1","redis":"^2.8.0","hiredis":"~0.5.0"},"devDependencies":{"autod":"^2.9.0","co-mocha":"^1.2.0","connect":"^3.6.3","connect-redis":"^3.3.0","istanbul":"^0.4.5","koa":"^2.3.0","koa-generic-session":"^2.0.0","mocha":"^3.5.0","should":"^13.0.1"},"optionalDependencies":{"hiredis":"~0.5.0"},"engines":{"node":">= 4"},"license":"MIT","gitHead":"2d221f3ada307c6aede343615d59345aeb0552f7","_id":"koa-redis@3.1.1","_npmVersion":"5.2.0","_nodeVersion":"8.2.1","_npmUser":{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},"maintainers":[{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},{"name":"dead_horse","email":"dead_horse@qq.com"}],"dist":{"integrity":"sha512-YIUDdA+Jyn6IZVb1Q27bMZePjjeTZXQQ9Mbx7vd10/89+NDOMPvUsoO9TB49WlxoW4k6jhOSoQeExd7S1uH28Q==","shasum":"b08acb3908740e17e28de74edeb782c0ee31be50","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-3.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3MXZDksVsIZF/3VsMcbnWnUJRuP5sUKBIhQ5DGuS6UAIhAMi9icnGWBaXCqhYvDZIS65UwRtDElk8+ev1VxgpzIou"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-redis-3.1.1.tgz_1505018378062_0.3940488600637764"},"directories":{}},"3.1.2":{"name":"koa-redis","description":"koa session with redis using koa-generic-session","repository":{"type":"git","url":"git+https://github.com/koajs/koa-redis.git"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"homepage":"https://github.com/koajs/koa-redis","version":"3.1.2","main":"index.js","scripts":{"test":"istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\"","autod":"autod -w --prefix=^ --keep=koa -D co-mocha,mocha,istanbul,autod"},"keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"^2.1.1","co-wrap-all":"^1.0.0","debug":"^3.1.0","redis":"^2.8.0","hiredis":"~0.5.0"},"devDependencies":{"autod":"^2.9.0","co-mocha":"^1.2.0","connect":"^3.6.3","connect-redis":"^3.3.0","istanbul":"^0.4.5","koa":"^2.3.0","koa-generic-session":"^2.0.0","mocha":"^3.5.0","should":"^13.0.1"},"optionalDependencies":{"hiredis":"~0.5.0"},"engines":{"node":">= 4"},"license":"MIT","gitHead":"af55af3ea574e4fdbe5ab086054ee9b0ed9ab509","_id":"koa-redis@3.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},"maintainers":[{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},{"name":"dead_horse","email":"dead_horse@qq.com"}],"dist":{"integrity":"sha512-/PgYfivYQ0eIH9I9Io5K01yHBIqAWm5ZhTdun1H9iZ8tyufWGBYldogvdFfCqPFXcWWquJlsCRoEAFZ/ciTAcg==","shasum":"5b9c8c63f06b44878d9b27ab8f90e3f4d11e77bb","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-3.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpc5rxwZofalzhVY0FG3FhbNqOpfam2MiFOa04IPjKegIhAKHgOF+GGxxmOBS/cwiPoraCWCq2OO7fRAd6tHCveLbF"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-redis-3.1.2.tgz_1516668924339_0.2971679207403213"},"directories":{}},"3.1.3":{"name":"koa-redis","description":"koa session with redis using koa-generic-session","repository":{"type":"git","url":"git+https://github.com/koajs/koa-redis.git"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"homepage":"https://github.com/koajs/koa-redis","version":"3.1.3","main":"index.js","scripts":{"test":"istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\"","autod":"autod -w --prefix=^ --keep=koa -D co-mocha,mocha,istanbul,autod"},"keywords":["koa","middleware","session","redis"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"dependencies":{"co-redis":"^2.1.1","co-wrap-all":"^1.0.0","debug":"^3.1.0","redis":"^2.8.0"},"devDependencies":{"autod":"^2.9.0","co-mocha":"^1.2.0","connect":"^3.6.3","connect-redis":"^3.3.0","istanbul":"^0.4.5","koa":"^2.3.0","koa-generic-session":"^2.0.0","mocha":"^3.5.0","should":"^13.0.1"},"engines":{"node":">= 4"},"license":"MIT","gitHead":"efda5c06e1fbfab50d694c2fcb913ec70dedd46e","_id":"koa-redis@3.1.3","_npmVersion":"5.8.0","_nodeVersion":"8.11.1","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"integrity":"sha512-dahipG78zLfMtLQK5zcDaFt3FJOC0dNkIuUoWH/aqU0cO2S+K6jqJIexS1CF4BsPDDr+b/wxkECFAfs508PoWQ==","shasum":"b1015bc243d081226737a60f73c46322a6fb5f78","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-3.1.3.tgz","fileCount":5,"unpackedSize":17795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyXgRCRA9TVsSAnZWagAAVF8P/Rlieo+BmLnvDa65JgzS\nW1B4SqGaqIjnjoRUaAElxNmA7ZqLUCVFp27cdnEIhm86wDSnqpG02i7WxcTB\n2XMtmBGi/IAwNQXRDPzqhhW/cHEnBQHl+PziERkIvSP6vMFrKgmcFbPxEUvT\ncokOPRTdEdYzQIXEuaZhDdskr1TNzbKon/YtcBS0CR28ZdvXs5OeMJ0at1lf\nKZJJquko2dlvkjwgaONeOIFH1Pw1CeJWYzHZCbXRr338dKPHt2JXvscl9Qju\n2wS4cJWdZKHvOLBMa1+WwDm3A1phAWnW0l+Fim+TLcmyyw6pwlMTS24HYi7Q\nNrVpE6Bhj0AC3of+/5l5JQ6Cv9cV9RDZZCwrcqnufoCmM4lbuJ1I2BahYAYw\nvtuu7cVShGCiyjiSkOjMpyRJweJAPvqehgoUB0lNIy6W+Q6LkUO4+dujw579\nqzvqHcQFfqr8Up4AQUOx9X9C8b92j6c6Lll1K6hB/qt+DlkTBuRySGSoVlVg\n5iCpQzkXLG53eUJUUtbfVaXnMGfiRq5trIJDZv+nrqHVTmTgPvfFmKEGy+2G\nLpxutYXZawZ5YMmUOqo+bEKD2QbBfCfChvHZz/hyxvqav1FSh0gSnRNXtaYe\n93chaieiTteMvK/Irv102xGkRaRSWX7Sm0npePLHInQr7DYIwCK9aFWxmsAy\nJ1yC\r\n=5MDa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXT+rPiAgYnAGyaSEGKHuAp/5Pm6M3lKGqDi6zMNfY8gIhAOtnRdAg0Myf5IkadypPmX9Qk5tykO3DE4f3SvxtQfTZ"}]},"maintainers":[{"name":"daawesomep","email":"DaAwesomeP@outlook.com"},{"name":"dead_horse","email":"dead_horse@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-redis_3.1.3_1539930129330_0.8964028590668738"},"_hasShrinkwrap":false},"4.0.0":{"name":"koa-redis","description":"Redis storage for Koa session middleware/cache with Sentinel and Cluster support","version":"4.0.0","author":{"name":"dead_horse","email":"dead_horse@qq.com"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"commitlint":{"extends":["@commitlint/config-conventional"]},"contributors":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"Nick Baugh","email":"niftylettuce@gmail.com","url":"http://niftylettuce.com/"}],"dependencies":{"@babel/runtime":"^7.4.3","co-wrap-all":"^1.0.0","debug":"^4.1.1","ioredis":"^4.9.0"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@commitlint/cli":"^7.5.2","@commitlint/config-conventional":"^7.5.0","autod":"^3.1.0","co-mocha":"^1.2.2","connect":"^3.6.6","connect-redis":"^3.4.1","eslint":"^5.16.0","eslint-config-xo-lass":"^1.0.3","eslint-plugin-node":"^8.0.1","fixpack":"^2.3.1","husky":"^2.1.0","istanbul":"^0.4.5","koa":"^2.7.0","koa-generic-session":"^2.0.1","lint-staged":"^8.1.5","mocha":"3.5.3","remark-cli":"^6.0.1","remark-preset-github":"^0.0.13","rimraf":"^2.6.3","should":"^13.2.3","xo":"^0.24.0"},"engines":{"node":">= 4"},"homepage":"https://github.com/koajs/koa-redis","husky":{"hooks":{"pre-commit":"npm test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"keywords":["cache","caching","client","clients","cluster","clustering","clusters","express","ioredis","koa","middleware","multiple","node","nodes","redis","scale","sentinal","sentinals","sentinel","sentinels","session","storage","store"],"license":"MIT","lint-staged":{"linters":{"*.js":["xo --fix","git add"],"*.md":["remark . -qfo","git add"],"package.json":["fixpack","git add"]}},"main":"lib/index.js","prettier":{"singleQuote":true,"bracketSpacing":true,"trailingComma":"none"},"remarkConfig":{"plugins":["preset-github"]},"repository":{"type":"git","url":"https://github.com/koajs/koa-redis.git"},"scripts":{"autod":"autod -w --prefix=^ --keep=koa -D co-mocha,mocha,istanbul,autod","build":"npm run build:clean && npm run build:lib","build:clean":"rimraf lib","build:lib":"babel src --out-dir lib","lint":"xo && remark . -qfo && eslint lib","test":"npm run build && npm run lint && istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\""},"xo":{"prettier":true,"space":true,"extends":["xo-lass"],"overrides":[{"files":"test/**/*.js","envs":["mocha"]}]},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2013 dead_horse\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","_id":"koa-redis@4.0.0","dist":{"shasum":"565dc700190432989fb2096ca4341240a84698dd","integrity":"sha512-Yh/jPO2UUaqkWI5L4MLmwBfeAAevMasBn31ePUFE6RXu2yktcsG3YzxswOSeC+c+c3j7vJjCA1JJuXPztLIg1w==","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-4.0.0.tgz","fileCount":7,"unpackedSize":23484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcw2c8CRA9TVsSAnZWagAAfosQAJ85QKi7BdGHRYffRixu\nyN+9e8DJ7x7f60CL82aFXLfBTEQs/JFcCIqhq8ASok9zbH4SbWIjJ7dokHLD\naGYmKdvPeb2B27D2p1lwtnT1uv8rfk6rBX+1cO0XPehf1gKlHymH7vtI6oiM\nf2LT7t0zIRFt6lCN1qv5mEN3M8wcG5rjeqqhtNcwnm+2Y57XBu+8VNjTZwkx\n/Sacu8hE6mI/7oO2qAnTre1CHsuzF5UH7s2vKdgn+sCbWpDkL0vZHygsdBzJ\noubfMMTskcTJbRzVY/zYg8iqsjFIvblxgcPJVaTQResQm34XbBoVj2IPSzuT\nbwC3nQyqCQclXBYoyrfqZJGfBKuMP9SbszBF6M1eUr4CinMOMhPi7f47kTl/\nF1TcFRiI+PgHMBaj1JKQu1NPvzzx7dZTRc5vbaHk9YuhMgeCUa6q8qeex7QO\noDsFoBu9n0+sI8Vc/d+lIq2FZtvwzQ3vIa4rCk217kxYVC3GnKw5lVd8nZtp\nMmYrEMtj9HqTEhMSV3dgXGZH0oaQZW8n8Z62xCC6KFfOr26zxxwyCP6HiudH\nQvyhsMKXQotK9rfYZ+/ktSg2iWSqwa80a5vasnlKGN9/4NQGKMz96CYEeZ8o\nRlIObpMhr1a8/FYwOgMoNxGnkX43Gv8FXTBQd32JxQOS4smFus2kQttFxdfI\nB/Bt\r\n=xDMz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjdnevjol6IrP2KOcCwiwDUUx97GXyuFLOh+/7KvaPbAiADCF85SzRT+yxCrpYnQW7vsGPQIziR2PqZNu5gXiesUg=="}]},"maintainers":[{"email":"DaAwesomeP@outlook.com","name":"daawesomep"},{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"niftylettuce@gmail.com","name":"niftylettuce"}],"_npmUser":{"name":"niftylettuce","email":"niftylettuce@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-redis_4.0.0_1556309819445_0.864678237240704"},"_hasShrinkwrap":false},"4.0.1":{"name":"koa-redis","description":"Redis storage for Koa session middleware/cache with Sentinel and Cluster support","version":"4.0.1","author":{"name":"dead_horse","email":"dead_horse@qq.com"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"commitlint":{"extends":["@commitlint/config-conventional"]},"contributors":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"Nick Baugh","email":"niftylettuce@gmail.com","url":"http://niftylettuce.com/"}],"dependencies":{"@babel/runtime":"^7.8.3","co-wrap-all":"^1.0.0","debug":"^4.1.1","ioredis":"^4.14.1"},"devDependencies":{"@babel/cli":"^7.8.3","@babel/core":"^7.8.3","@babel/plugin-transform-runtime":"^7.8.3","@babel/preset-env":"^7.8.3","@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","autod":"^3.1.0","co-mocha":"^1.2.2","connect":"^3.7.0","connect-redis":"^4.0.3","eslint":"^6.8.0","eslint-config-xo-lass":"^1.0.3","eslint-plugin-node":"^11.0.0","fixpack":"^2.3.1","husky":"3.x","istanbul":"^0.4.5","koa":"^2.11.0","koa-generic-session":"^2.0.4","lint-staged":"^9.5.0","mocha":"3.x","remark-cli":"^7.0.1","remark-preset-github":"^0.0.16","rimraf":"^3.0.0","should":"^13.2.3","xo":"^0.25.3"},"engines":{"node":">= 4"},"homepage":"https://github.com/koajs/koa-redis","husky":{"hooks":{"pre-commit":"npm test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"keywords":["cache","caching","client","clients","cluster","clustering","clusters","express","ioredis","koa","middleware","multiple","node","nodes","redis","scale","sentinal","sentinals","sentinel","sentinels","session","storage","store"],"license":"MIT","lint-staged":{"linters":{"*.js":["xo --fix","git add"],"*.md":["remark . -qfo","git add"],"package.json":["fixpack","git add"]}},"main":"lib/index.js","prettier":{"singleQuote":true,"bracketSpacing":true,"trailingComma":"none"},"remarkConfig":{"plugins":["preset-github"]},"repository":{"type":"git","url":"https://github.com/koajs/koa-redis.git"},"scripts":{"autod":"autod -w --prefix=^ --keep=koa -D co-mocha,mocha,istanbul,autod","build":"npm run build:clean && npm run build:lib","build:clean":"rimraf lib","build:lib":"babel src --out-dir lib","lint":"xo && remark . -qfo && eslint lib","test":"npm run build && npm run lint && istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"","test-only":"mocha --require co-mocha \"test/**/*.test.js\""},"xo":{"prettier":true,"space":true,"extends":["xo-lass"],"overrides":[{"files":"test/**/*.js","envs":["mocha"]}]},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2013 dead_horse\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","_id":"koa-redis@4.0.1","dist":{"shasum":"57ac1b46d9ab851221a9f4952c1e8d4bf289db40","integrity":"sha512-o2eTVNo1NBnloeUGhHed5Q2ZvJSLpUEj/+E1/7oH5EmH8WuQ+QLdl/VawkshxdFQ47W1p6V09lM3hCTu7D0YnQ==","tarball":"https://registry.npmjs.org/koa-redis/-/koa-redis-4.0.1.tgz","fileCount":7,"unpackedSize":23606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeH5yaCRA9TVsSAnZWagAAkAUQAJWat+OjuFVhNF04cagG\nJ/Q6IgpQZXWatoTX+eLxftOkn1Q9aO19woaghGGfHQoKFJ0ZCq8Dtv1a2zPN\neN9oOEw50ivL6nX3/I10Rfy7Spad2B6Ml37n2auxNJLG0gjf1l3fWVpnm1y7\n3K8MAS2raFwwBiXc6VieQ/PN0k/k5EVJor7cErfg3fke6frs+vsj70HYLMsz\nrLw0WAWYGbmOQnUkVgu2hrQgLkr0JSxLANu4UQs1xP0obCeIIb8Nv1OZd/3p\nu8xfru6/6fJrLkCPsqoy8xj3YfU1WqbK8StPPgSwD/btCmRVOdAh/3Yx3jxd\n9MiIqlKX47UH1ot38EVeDyBjtqwgyFp66XR/i79oLEFatVQ9PkByY+Wkmw9J\nDbtHOBwDuRzkk477iND7TIwtaddG9UwVwjnXTpUzZugSL76+2LqBKSx7oKZ4\nQj5uAYBpcUWEw9F/wK1oWSGeuocjQcG340NO/9+mYD74v2M75UFA90EsFpxU\nWTTXzyEIcmDolIuSwJe7l+cVEbZNbLttU3yIJgMq3dxc+vyeRvjomqK1D3br\npAjfNtWrstHmZzA+BwHqvx/c9x30nqmd4SzIcPbU4TsW0CwPp7PBQWDoHMkM\nG+h3z7+wlGx/Zwmng/dS9ahv/IxMI0p8odxRXfAq5bOJjIsv3HzC2laKK0FU\nwmTv\r\n=3Rw5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE2EDd35THmrVpJo+V7XL77rIVDA1PV3MDD8EiDWCL2ZAiEA8DjbVohY6Jve1iUxNSsPj1BCkpH3j/PQvJdnepp+8/U="}]},"maintainers":[{"email":"DaAwesomeP@outlook.com","name":"daawesomep"},{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"niftylettuce@gmail.com","name":"niftylettuce"}],"_npmUser":{"name":"niftylettuce","email":"niftylettuce@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-redis_4.0.1_1579130009445_0.06433267050474889"},"_hasShrinkwrap":false}},"readme":"# koa-redis\n\n[![build status][travis-image]][travis-url]\n[![Coveralls][coveralls-image]][coveralls-url]\n[![David deps][david-image]][david-url]\n[![David devDeps][david-dev-image]][david-dev-url]\n[![license][license-image]][license-url]\n[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square)](https://github.com/sindresorhus/xo)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg?style=flat-square)](https://lass.js.org)\n\n> Redis storage for Koa session middleware/cache with Sentinel and Cluster support\n\n[![NPM](https://nodei.co/npm/koa-redis.svg?downloads=true)](https://nodei.co/npm/koa-redis/)\n\n**v4.0.0+ now uses `ioredis` and has support for Sentinel and Cluster!**\n\n\n## Table of Contents\n\n* [Install](#install)\n* [Usage](#usage)\n  * [Basic](#basic)\n  * [Sentinel](#sentinel)\n  * [Cluster](#cluster)\n* [Options](#options)\n* [Events](#events)\n* [API](#api)\n  * [module(options)](#moduleoptions)\n  * [session.get(sid)](#sessiongetsid)\n  * [session.set(sid, sess, ttl)](#sessionsetsid-sess-ttl)\n  * [session.destroy(sid)](#sessiondestroysid)\n  * [session.quit()](#sessionquit)\n  * [session.end()](#sessionend)\n  * [session.status](#sessionstatus)\n  * [session.connected](#sessionconnected)\n  * [session.client](#sessionclient)\n* [Benchmark](#benchmark)\n* [Testing](#testing)\n* [License](#license)\n* [Contributors](#contributors)\n\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install koa-redis\n```\n\n[yarn][]:\n\n```sh\nyarn add koa-redis\n```\n\n\n## Usage\n\n`koa-redis` works with [koa-generic-session](https://github.com/koajs/generic-session) (a generic session middleware for koa).\n\nFor more examples, please see the [examples folder of `koa-generic-session`](https://github.com/koajs/generic-session/tree/master/example).\n\n### Basic\n\n```js\nconst session = require('koa-generic-session');\nconst redisStore = require('koa-redis');\nconst koa = require('koa');\n\nconst app = koa();\napp.keys = ['keys', 'keykeys'];\napp.use(session({\n  store: redisStore({\n    // Options specified here\n  })\n}));\n\napp.use(function *() {\n  switch (this.path) {\n  case '/get':\n    get.call(this);\n    break;\n  case '/remove':\n    remove.call(this);\n    break;\n  case '/regenerate':\n    yield regenerate.call(this);\n    break;\n  }\n});\n\nfunction get() {\n  const session = this.session;\n  session.count = session.count || 0;\n  session.count++;\n  this.body = session.count;\n}\n\nfunction remove() {\n  this.session = null;\n  this.body = 0;\n}\n\nfunction *regenerate() {\n  get.call(this);\n  yield this.regenerateSession();\n  get.call(this);\n}\n\napp.listen(8080);\n```\n\n### Sentinel\n\n```js\nconst session = require('koa-generic-session');\nconst redisStore = require('koa-redis');\nconst koa = require('koa');\n\nconst app = koa();\napp.keys = ['keys', 'keykeys'];\napp.use(session({\n  store: redisStore({\n    // Options specified here\n    // <https://github.com/luin/ioredis#sentinel>\n    sentinels: [\n      { host: 'localhost', port: 26379 },\n      { host: 'localhost', port: 26380 }\n      // ...\n    ],\n    name: 'mymaster'\n  })\n}));\n\n// ...\n```\n\n### Cluster\n\n```js\nconst session = require('koa-generic-session');\nconst redisStore = require('koa-redis');\nconst koa = require('koa');\n\nconst app = koa();\napp.keys = ['keys', 'keykeys'];\napp.use(session({\n  store: redisStore({\n    // Options specified here\n    // <https://github.com/luin/ioredis#cluster>\n    isRedisCluster: true,\n    nodes: [\n      {\n        port: 6380,\n        host: '127.0.0.1'\n      },\n      {\n        port: 6381,\n        host: '127.0.0.1'\n      }\n      // ...\n    ],\n    // <https://github.com/luin/ioredis/blob/master/API.md#new-clusterstartupnodes-options>\n    clusterOptions: {\n      // ...\n      redisOptions: {\n        // ...\n      }\n    }\n  })\n}));\n\n// ...\n```\n\n\n## Options\n\n* _all [`ioredis`](https://github.com/luin/ioredis/blob/master/API.md#new-redisport-host-options) options_ - Useful things include `url`, `host`, `port`, and `path` to the server. Defaults to `127.0.0.1:6379`\n* `db` (number) - will run `client.select(db)` after connection\n* `client` (object) - supply your own client, all other options are ignored unless `duplicate` is also supplied\n* `duplicate` (boolean) - When true, it will run `client.duplicate()` on the supplied `client` and use all other options supplied. This is useful if you want to select a different DB for sessions but also want to base from the same client object.\n* `serialize` - Used to serialize the data that is saved into the store.\n* `unserialize` - Used to unserialize the data that is fetched from the store.\n* `isRedisCluster` (boolean) - Used for creating a Redis cluster instance per [`ioredis`][cluster] Cluster options, if set to `true`, then a new Redis cluster will be instantiated with `new Redis.Cluster(options.nodes, options.clusterOptions)` (see [Cluster docs][cluster] for more info).\n* `nodes` (array) - Conditionally used for creating a Redis cluster instance when `isRedisCluster` option is `true`, this is the first argument passed to `new Redis.Cluster` and contains a list of all the nodes of the cluster ou want to connect to (see [Cluster docs][cluster] for more info).\n* `clusterOptions` (object) - Conditionally used for created a Redi cluster instance when `isRedisCluster` option is `true`, this is the second argument passed to `new Redis.Cluster` and contains options, such as `redisOptions` (see [Cluster docs][cluster] for more info).\n* **DEPRECATED:** old options - `auth_pass` and `pass` have been replaced with `password`, and `socket` has been replaced with `path`, however all of these options are backwards compatible.\n\n\n## Events\n\nSee the [`ioredis` docs](https://github.com/luin/ioredis#connection-events) for more info.\n\n**Note that as of v4.0.0 the `disconnect` and `warning` events are removed as `ioredis` does not support them.   The `disconnect` event is deprecated, although it is still emitted when `end` events are emitted.**\n\n\n## API\n\nThese are some the functions that `koa-generic-session` uses that you can use manually. You will need to initialize differently than the example above:\n\n```js\nconst session = require('koa-generic-session');\nconst redisStore = require('koa-redis')({\n  // Options specified here\n});\nconst app = require('koa')();\n\napp.keys = ['keys', 'keykeys'];\napp.use(session({\n  store: redisStore\n}));\n```\n\n### module([options](#options))\n\nInitialize the Redis connection with the optionally provided options (see above). _The variable `session` below references this_.\n\n### session.get(sid)\n\nGenerator that gets a session by ID. Returns parsed JSON is exists, `null` if it does not exist, and nothing upon error.\n\n### session.set(sid, sess, ttl)\n\nGenerator that sets a JSON session by ID with an optional time-to-live (ttl) in milliseconds. Yields `ioredis`'s `client.set()` or `client.setex()`.\n\n### session.destroy(sid)\n\nGenerator that destroys a session (removes it from Redis) by ID. Tields `ioredis`'s `client.del()`.\n\n### session.quit()\n\nGenerator that stops a Redis session after everything in the queue has completed. Yields `ioredis`'s `client.quit()`.\n\n### session.end()\n\nAlias to `session.quit()`. It is not safe to use the real end function, as it cuts off the queue.\n\n### session.status\n\nString giving the connection status updated using `client.status`.\n\n### session.connected\n\nBoolean giving the connection status updated using `client.status` after any of the events above is fired.\n\n### session.client\n\nDirect access to the `ioredis` client object.\n\n\n## Benchmark\n\n| Server                  | Transaction rate      | Response time |\n| ----------------------- | --------------------- | ------------- |\n| connect without session | **6763.56 trans/sec** | **0.01 secs** |\n| koa without session     | **5684.75 trans/sec** | **0.01 secs** |\n| connect with session    | **2759.70 trans/sec** | **0.02 secs** |\n| koa with session        | **2355.38 trans/sec** | **0.02 secs** |\n\nDetailed benchmark report [here](https://github.com/koajs/koa-redis/tree/master/benchmark)\n\n\n## Testing\n\n1. Start a Redis server on `localhost:6379`. You can use [`redis-windows`](https://github.com/ServiceStack/redis-windows) if you are on Windows or just want a quick VM-based server.\n2. Clone the repository and run `npm i` in it (Windows should work fine).\n3. If you want to see debug output, turn on the prompt's `DEBUG` flag.\n4. Run `npm test` to run the tests and generate coverage. To run the tests without generating coverage, run `npm run-script test-only`.\n\n\n## License\n\n[MIT](LICENSE) © dead_horse\n\n\n## Contributors\n\n| Name           | Website                    |\n| -------------- | -------------------------- |\n| **dead_horse** |                            |\n| **Nick Baugh** | <http://niftylettuce.com/> |\n\n\n## \n\n[travis-image]: https://img.shields.io/travis/koajs/koa-redis.svg?style=flat-square\n\n[travis-url]: https://travis-ci.org/koajs/koa-redis\n\n[coveralls-image]: https://img.shields.io/coveralls/koajs/koa-redis.svg?style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/koajs/koa-redis?branch=master\n\n[david-image]: https://img.shields.io/david/koajs/koa-redis.svg?style=flat-square&label=deps\n\n[david-url]: https://david-dm.org/koajs/koa-redis\n\n[david-dev-image]: https://img.shields.io/david/dev/koajs/koa-redis.svg?style=flat-square&label=devDeps\n\n[david-dev-url]: https://david-dm.org/koajs/koa-redis#info=devDependencies\n\n[license-image]: https://img.shields.io/npm/l/koa-redis.svg?style=flat-square\n\n[license-url]: https://github.com/koajs/koa-redis/blob/master/LICENSE\n\n[cluster]: https://github.com/luin/ioredis/blob/master/API.md#new-clusterstartupnodes-options\n\n[npm]: https://www.npmjs.com/\n\n[yarn]: https://yarnpkg.com/\n","maintainers":[{"email":"niftylettuce@gmail.com","name":"niftylettuce"},{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"DaAwesomeP@outlook.com","name":"daawesomep"},{"email":"npm@titanism.com","name":"titanism"}],"time":{"modified":"2022-06-19T09:24:53.609Z","created":"2013-12-27T18:43:24.875Z","0.0.1":"2013-12-27T18:43:24.875Z","0.0.2":"2013-12-28T19:42:35.755Z","0.0.4":"2014-01-31T18:50:19.745Z","0.0.5":"2014-02-06T02:53:00.752Z","0.1.0":"2014-02-27T13:53:59.591Z","0.1.1":"2014-06-09T01:39:33.251Z","1.0.0":"2014-11-17T13:57:24.931Z","1.0.1":"2015-08-20T09:46:05.055Z","2.0.0":"2016-01-09T12:10:21.225Z","2.0.1":"2016-01-12T06:54:58.031Z","2.1.0":"2016-05-19T04:10:12.944Z","2.1.1":"2016-05-19T15:46:57.971Z","2.1.2":"2016-08-05T02:59:14.043Z","2.1.3":"2016-12-01T00:55:47.854Z","3.0.0":"2017-04-17T06:32:53.831Z","3.1.0":"2017-09-10T03:54:08.314Z","3.1.1":"2017-09-10T04:39:39.060Z","3.1.2":"2018-01-23T00:55:25.338Z","3.1.3":"2018-10-19T06:22:09.436Z","4.0.0":"2019-04-26T20:16:59.669Z","4.0.1":"2020-01-15T23:13:29.584Z"},"readmeFilename":"README.md","homepage":"https://github.com/koajs/koa-redis","keywords":["cache","caching","client","clients","cluster","clustering","clusters","express","ioredis","koa","middleware","multiple","node","nodes","redis","scale","sentinal","sentinals","sentinel","sentinels","session","storage","store"],"repository":{"type":"git","url":"https://github.com/koajs/koa-redis.git"},"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"bugs":{"url":"https://github.com/koajs/koa-redis/issues"},"license":"MIT","users":{"qbylucky":true,"minghe":true,"phoenix-xsy":true,"daawesomep":true,"ineva":true,"octetstream":true,"zhoutk":true,"nisimjoseph":true,"snowdream":true,"edwardxyt":true,"td3":true},"contributors":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"Nick Baugh","email":"niftylettuce@gmail.com","url":"http://niftylettuce.com/"}]}