{"id":23488437,"url":"https://github.com/onesy-me/redis","last_synced_at":"2026-02-21T14:01:15.588Z","repository":{"id":218347451,"uuid":"746199944","full_name":"onesy-me/redis","owner":"onesy-me","description":"Redis utils","archived":false,"fork":false,"pushed_at":"2025-04-06T23:51:44.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-22T15:56:39.847Z","etag":null,"topics":["amaui","api","back-end","backend","js","nodejs","redis","utils"],"latest_commit_sha":null,"homepage":"https://docs.onesy.me/library/redis","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onesy-me.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,"zenodo":null}},"created_at":"2024-01-21T11:22:53.000Z","updated_at":"2025-04-06T23:51:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"080ee315-ea58-4d1a-8b34-7c0cd44f1561","html_url":"https://github.com/onesy-me/redis","commit_stats":null,"previous_names":["amaui-org/amaui-redis","onesy-me/amaui-redis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/onesy-me/redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onesy-me","download_url":"https://codeload.github.com/onesy-me/redis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fredis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29682748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T13:29:26.630Z","status":"ssl_error","status_checked_at":"2026-02-21T13:26:50.125Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["amaui","api","back-end","backend","js","nodejs","redis","utils"],"created_at":"2024-12-24T23:11:28.831Z","updated_at":"2026-02-21T14:01:15.583Z","avatar_url":"https://github.com/onesy-me.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003c/br\u003e\n\u003c/br\u003e\n\n\u003cp align='center'\u003e\n  \u003ca target='_blank' rel='noopener noreferrer' href='#'\u003e\n    \u003cimg width='auto' height='84' src='https://raw.githubusercontent.com/onesy-me/onesy/refs/heads/main/utils/images/logo.png' alt='onesy logo' /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align='center'\u003eonesy Redis\u003c/h1\u003e\n\n\u003ch3 align='center'\u003e\n  \u003csub\u003eMIT license\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eProduction ready\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003e100% test cov\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eNodejs\u003c/sub\u003e\n\u003c/h3\u003e\n\n\u003cp align='center'\u003e\n    \u003csub\u003eVery simple code\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eModern code\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eJunior friendly\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eTypescript\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eMade with :yellow_heart:\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n### Add\n\n```sh\n  yarn add @onesy/redis\n```\n\nAdd `redis` peer dependency.\n\n```sh\n  yarn add redis\n```\n\n### Use\n\n```javascript\n  import OnesyRedis from '@onesy/redis';\n  // Make if you wanna a config file and\n  // inside of it add all the process.env related props\n  import Config from './config';\n\n  // Make a new amqp instance\n  const onesyRedis = new OnesyRedis({\n    uri: Config.amqp.redis.uri\n  });\n\n  // Await for a client connection\n  await onesyRedis.client;\n\n  // Send to a queue\n  await onesyRedis.publish('a', 'a'); \n```\n\n### Dev\n\n\nInstall\n\n```sh\n  yarn\n```\n\nTest\n\n```sh\n  yarn test\n```\n\nOne time local setup\n\nInstall docker and docker-compose\n\n  - https://docs.docker.com/get-docker\n  - https://docs.docker.com/compose/install\n\nMake docker containers\n\n```sh\n  yarn docker\n```\n\n### Prod\n\nBuild\n\n```sh\n  yarn build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesy-me%2Fredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonesy-me%2Fredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesy-me%2Fredis/lists"}