{"id":16526822,"url":"https://github.com/silverbucket/redis-connection-pool","last_synced_at":"2025-03-16T19:31:20.171Z","repository":{"id":12614196,"uuid":"15285319","full_name":"silverbucket/redis-connection-pool","owner":"silverbucket","description":"A node.js connection manager for Redis","archived":false,"fork":false,"pushed_at":"2023-12-13T01:35:02.000Z","size":1004,"stargazers_count":60,"open_issues_count":19,"forks_count":30,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-12T17:30:03.366Z","etag":null,"topics":["generic-pool","pool","redis","redis-client"],"latest_commit_sha":null,"homepage":"https://silverbucket.github.io/redis-connection-pool","language":"TypeScript","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/silverbucket.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-18T14:29:52.000Z","updated_at":"2024-06-26T08:18:54.000Z","dependencies_parsed_at":"2023-09-29T18:31:09.149Z","dependency_job_id":"c65193ac-5273-4496-8e47-79b87aedc394","html_url":"https://github.com/silverbucket/redis-connection-pool","commit_stats":null,"previous_names":["silverbucket/node-redis-connection-pool"],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silverbucket%2Fredis-connection-pool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silverbucket%2Fredis-connection-pool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silverbucket%2Fredis-connection-pool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silverbucket%2Fredis-connection-pool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silverbucket","download_url":"https://codeload.github.com/silverbucket/redis-connection-pool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221667228,"owners_count":16860575,"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":["generic-pool","pool","redis","redis-client"],"created_at":"2024-10-11T17:30:13.604Z","updated_at":"2025-03-16T19:31:20.165Z","avatar_url":"https://github.com/silverbucket.png","language":"TypeScript","readme":"redis-connection-pool\n=====================\n\n:warning: This repo is deprecated and no longer maintained.\n\nA node.js connection pool for Redis.\n\nhttps://silverbucket.github.io/redis-connection-pool\n\n[![Build Status](http://img.shields.io/travis/silverbucket/node-redis-connection-pool.svg?style=flat)](http://travis-ci.org/silverbucket/node-redis-connection-pool)\n[![license](https://img.shields.io/npm/l/redis-connection-pool.svg?style=flat)](https://npmjs.org/package/redis-connection-pool)\n[![downloads](http://img.shields.io/npm/dm/redis-connection-pool.svg?style=flat)](https://npmjs.org/package/redis-connection-pool)\n\n## About\n\n  A high-level redis connection pooling object. It manages\na number of connections in a pool, using them as needed and keeping all aspects\nof releasing active connections internal to the object.\n\n## Installation\n\n```javascript\nnpm install redis-connection-pool\n```\n\n## Usage\n\n```javascript\nimport redisPoolFactory from 'redis-connection-pool';\nconst redisPool = await redisPoolFactory('myRedisPool', {\n    max_clients: 5, // default\n    redis: {\n      url: 'redis://localhost:6379'\n    }\n  });\n\n\nawait redisPool.set('test-key', 'foobar');\nconst foo = await redisPool.get('test-key');\n// returns 'foobar'\n```\n\nOr you can create a pool instance directly\n```javascript\nimport RedisConnectionPool from 'redis-connection-pool';\nconst redisPool = new RedisConnectionPool();\nawait redisPool.init();\n```\n\nWhen you are done\n```javascript\nredisPool.shutdown();\n```\n\n## Implemented Redis methods\n\n* **blpop**\n* **brpop**\n* **del**\n* **expire**\n* **get**\n* **hdel**\n* **hget**\n* **hgetall**\n* **hset**\n* **incr**\n* **keys**\n* **lpush**\n* **rpush**\n* **sendCommand**\n* **set**\n* **ttl**\n\n## Additional methods\n\n* **init**\n* **shutdown**\n\n\n## API Documentation\nFor the full documentation on the `RedisConnectionPool` class, see https://silverbucket.github.io/redis-connection-pool/classes/RedisConnectionPool.html\n\n## License\n\n[MIT](https://github.com/silverbucket/node-redis-connection-pool/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilverbucket%2Fredis-connection-pool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilverbucket%2Fredis-connection-pool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilverbucket%2Fredis-connection-pool/lists"}