{"id":16384046,"url":"https://github.com/lttb/redis-mock","last_synced_at":"2026-04-12T08:40:34.059Z","repository":{"id":66063884,"uuid":"56850398","full_name":"lttb/redis-mock","owner":"lttb","description":null,"archived":false,"fork":false,"pushed_at":"2017-06-30T12:36:44.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-11-12T08:25:40.801Z","etag":null,"topics":["ioredis","mock","redis","testing"],"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/lttb.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":"2016-04-22T11:25:05.000Z","updated_at":"2017-02-16T21:11:15.000Z","dependencies_parsed_at":"2023-02-21T02:15:33.383Z","dependency_job_id":null,"html_url":"https://github.com/lttb/redis-mock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lttb/redis-mock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttb%2Fredis-mock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttb%2Fredis-mock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttb%2Fredis-mock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttb%2Fredis-mock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lttb","download_url":"https://codeload.github.com/lttb/redis-mock/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttb%2Fredis-mock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31709294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["ioredis","mock","redis","testing"],"created_at":"2024-10-11T04:10:24.098Z","updated_at":"2026-04-12T08:40:34.031Z","avatar_url":"https://github.com/lttb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redis-mock\n\nThis mock was implemented for testing business-logic using Redis features.  \nAPI was based on [ioredis](https://github.com/luin/ioredis) API with Promises.\n\n### Current features:\n* Pub/Sub\n* Lists: [lr]push / b?[rl]pop\n* Strings: get, set\n* Keys: del, exists, expire, pttl, ttl\n* Sets: sadd, srem, sismember\n* onevent listeners\n\n#### Why?\n\nOf course, your services must be isolated from the IO, almost always has to be an abstract wrapper. And, of course, to evaluate your system you need real Redis. \nBut this mock allows you to easily test the application without worrying about deploying Redis, about Redis current state and storage, and it's easy to implement various breakpoints in the internal API, etc. You can fearlessly completely clean RedisMockStore for each test or share RedisMockStore for a few specific tests, forming a simple integration test for example.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flttb%2Fredis-mock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flttb%2Fredis-mock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flttb%2Fredis-mock/lists"}