{"id":18508255,"url":"https://github.com/eknkc/sentinel-redis","last_synced_at":"2025-05-14T09:34:36.220Z","repository":{"id":13721974,"uuid":"16416124","full_name":"eknkc/sentinel-redis","owner":"eknkc","description":"Redis Sentinel client for Node.JS","archived":false,"fork":false,"pushed_at":"2014-03-11T23:07:52.000Z","size":160,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-18T01:27:21.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eknkc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-31T18:14:59.000Z","updated_at":"2015-03-19T04:03:41.000Z","dependencies_parsed_at":"2022-09-23T14:30:36.753Z","dependency_job_id":null,"html_url":"https://github.com/eknkc/sentinel-redis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eknkc%2Fsentinel-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eknkc%2Fsentinel-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eknkc%2Fsentinel-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eknkc%2Fsentinel-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eknkc","download_url":"https://codeload.github.com/eknkc/sentinel-redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254112259,"owners_count":22016721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T15:13:53.226Z","updated_at":"2025-05-14T09:34:36.191Z","avatar_url":"https://github.com/eknkc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sentinel-redis\nRedis Sentinel client for Node.JS\n\n    npm install sentinel-redis\n\n##Usage\n    var rs = require(\"sentinel-redis\")\n\n    // Create a new sentinel manager with the array of sentinel server definitions\n    var sentinel = rs([\n      { host: '127.0.0.1', port: 26379 },\n      { host: '127.0.0.1', port: 26380 },\n      { host: '127.0.0.1', port: 26381 }\n    ]);\n\n    // Create a new Redis client for given master and with the supplied options.\n    // This is a regular Redis client. You can do whatever you want with it at this point.\n    // In case of a failover, it will transparently switch to new master and keep working.\n    var client = sentinel.createClient(\"masterName\", options);\n\n##license\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feknkc%2Fsentinel-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feknkc%2Fsentinel-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feknkc%2Fsentinel-redis/lists"}