{"id":20109845,"url":"https://github.com/hyper63/hyper-adapter-redis","last_synced_at":"2025-10-07T15:05:43.119Z","repository":{"id":42186557,"uuid":"377902189","full_name":"hyper63/hyper-adapter-redis","owner":"hyper63","description":"Redis adapter for Hyper Cache port","archived":false,"fork":false,"pushed_at":"2024-01-19T01:02:49.000Z","size":243,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-13T05:41:39.475Z","etag":null,"topics":["cache","clean-architecture","deno","hyper","ports-and-adapters","redis","service-framework"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyper63.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"hyper63"}},"created_at":"2021-06-17T16:53:47.000Z","updated_at":"2024-01-25T20:45:48.000Z","dependencies_parsed_at":"2023-01-31T16:45:41.575Z","dependency_job_id":"8f618961-c341-4cbe-b191-201e280472b0","html_url":"https://github.com/hyper63/hyper-adapter-redis","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyper63","download_url":"https://codeload.github.com/hyper63/hyper-adapter-redis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241550101,"owners_count":19980648,"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":["cache","clean-architecture","deno","hyper","ports-and-adapters","redis","service-framework"],"created_at":"2024-11-13T18:09:36.852Z","updated_at":"2025-10-07T15:05:43.034Z","avatar_url":"https://github.com/hyper63.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003ehyper-adapter-redis\u003c/h1\u003e\n\u003cp align=\"center\"\u003eA Cache port adapter for Redis in the \u003ca href=\"https://hyper.io/\"\u003ehyper\u003c/a\u003e  service framework\u003c/p\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/hyper63/hyper-adapter-redis/actions/workflows/test-and-publish.yml\"\u003e\u003cimg src=\"https://github.com/hyper63/hyper-adapter-redis/actions/workflows/test-and-publish.yml/badge.svg\" alt=\"Test\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hyper63/hyper-adapter-redis/tags/\"\u003e\u003cimg src=\"https://img.shields.io/github/tag/hyper63/hyper-adapter-redis\" alt=\"Current Version\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n\u003c!-- toc --\u003e\n\n- [Getting Started](#getting-started)\n- [Installation](#installation)\n- [Features](#features)\n- [Methods](#methods)\n- [Contributing](#contributing)\n- [Testing](#testing)\n- [License](#license)\n\n\u003c!-- tocstop --\u003e\n\n## Getting Started\n\n```js\nimport { default as redis } from 'https://raw.githubusercontent.com/hyper63/hyper-adapter-redis/v3.1.0/mod.js'\n\nexport default {\n  app: opine,\n  adapter: [\n    {\n      port: 'cache',\n      plugins: [\n        redis({ url: 'http://user@password@redis.host:6379' }),\n      ],\n    },\n  ],\n}\n```\n\nYou can also pass a separate `hostname` and `port` to the adapter:\n\n```js\nredis({ hostname: 'redis.host', port: 6380 }),\n```\n\n\u003e `port` will always default to `6379` if not provided, then `443` if the `url` protocol is `https`\n\u003e then finally `80`\n\nTo connect to a Redis Cluster, pass the `cluster` flag:\n\n```js\nredis({ url: 'http://user@password@redis.host:6379', cluster: true })\n```\n\nThe adapter will automatically discover all nodes in the Cluster.\n\n## Installation\n\ndeps.js\n\n```js\nexport { default as redis } from 'https://raw.githubusercontent.com/hyper63/hyper-adapter-redis/v3.1.0/mod.js'\n```\n\n## Features\n\n- Create a named store in `Redis`\n- Destroy a named store in `Redis`\n- Create a document in a store in `Redis`\n- Get a document from a store in `Redis`\n- Update a document in a store in `Redis`\n- Delete a document from a store in `Redis`\n- List documents in a sttore in `Redis`\n\n## Methods\n\nThis adapter fully implements the Search port and can be used as the\n[hyper Cache service](https://docs.hyper.io/cache-api) adapter\n\nSee the full port [here](https://nest.land/package/hyper-port-cache)\n\n## Contributing\n\nContributions are welcome! See the hyper\n[contribution guide](https://docs.hyper.io/oss/contributing-to-hyper)\n\n## Testing\n\n```\ndeno task test\n```\n\nTo lint, check formatting, and run unit tests\n\n## License\n\nApache-2.0\n","funding_links":["https://github.com/sponsors/hyper63"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper63%2Fhyper-adapter-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyper63%2Fhyper-adapter-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper63%2Fhyper-adapter-redis/lists"}