{"id":20604810,"url":"https://github.com/themost-framework/redis","last_synced_at":"2025-12-31T14:45:12.223Z","repository":{"id":57166049,"uuid":"145405253","full_name":"themost-framework/redis","owner":"themost-framework","description":"Most Web Framework Redis Cache Module","archived":false,"fork":false,"pushed_at":"2024-05-02T18:02:17.000Z","size":190,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T15:48:24.520Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/themost-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-08-20T10:53:23.000Z","updated_at":"2023-04-04T10:04:13.000Z","dependencies_parsed_at":"2024-03-18T16:15:19.245Z","dependency_job_id":"4530e642-58e9-40c3-afff-28a97839a758","html_url":"https://github.com/themost-framework/redis","commit_stats":null,"previous_names":["kbarbounakis/themost-redis"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/themost-framework/redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/themost-framework","download_url":"https://codeload.github.com/themost-framework/redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fredis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264924426,"owners_count":23683922,"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-16T09:24:55.763Z","updated_at":"2025-12-31T14:45:12.195Z","avatar_url":"https://github.com/themost-framework.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @themost/redis\nMost Web Framework Redis Cache Module\n\n`@themost/redis` implements the usage of [Redis](https://redis.io) as caching strategy of a [MOST Web Framework](https://github.com/themost-framework) application.\n\n## Installation\n\n```bash\nnpm i @themost/redis\n```\n\n## Configuration\n\nAdd `settings/redis` configuration section in your application configuration.\n\n```json\n    {\n        \"settings\": {\n            \"redis\": {\n                \"options\": {\n                    \"host\": \"127.0.0.1\",\n                    \"port\": 6379\n                },\n                \"pool\": {\n                    \"min\": 2,\n                    \"max\": 25\n                }\n            }\n        }\n    }\n```\n\nThe section`redis/options` contains options about configuring the connection to the Redis server.\n\nRead more about connect options at [ioredis](https://github.com/redis/ioredis#connect-to-redis)\n\n### Connection pooling\n\n`@themost/redis` uses [generic-pool](https://github.com/coopernurse/node-pool) for connection pooling.\nConfigure `redis/pool` section to set minimum and maximum number of connections to be used.\n\nRead about connection pooling options at [generic-pool](https://github.com/coopernurse/node-pool#documentation)\n\n\n## Usage\n\nConfigure application services to use `RedisCacheStrategy` as caching service.\n\n```json\n{\n    \"services\": [\n        {\n            \"serviceType\": \"@themost/data#DataCacheStrategy\",\n            \"strategyType\": \"@themost/redis#RedisCacheStrategy\"\n        }\n    ]\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemost-framework%2Fredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemost-framework%2Fredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemost-framework%2Fredis/lists"}