Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @solayao/ioredis with all npm packages installed. Try it out:

var ioredis = require("@solayao/ioredis")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@solayao/ioredis v1.0.0

基于ioredis@5.2.3的优化。优化:配置添加hookAfterConnect钩子函数。sentinel连接支持连接到带密码的master, 主要通过natMap来实现, 密码参数password。

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free