{"id":17204666,"url":"https://github.com/catwell/fakeredis","last_synced_at":"2025-04-13T21:32:41.815Z","repository":{"id":6463252,"uuid":"7703038","full_name":"catwell/fakeredis","owner":"catwell","description":"A Redis mock for Lua with the same interface as redis-lua.","archived":false,"fork":false,"pushed_at":"2023-01-11T17:15:00.000Z","size":88,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-10T11:17:30.602Z","etag":null,"topics":["lua","redis"],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/catwell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-19T12:41:41.000Z","updated_at":"2023-09-08T16:37:14.000Z","dependencies_parsed_at":"2023-01-13T14:00:24.860Z","dependency_job_id":null,"html_url":"https://github.com/catwell/fakeredis","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catwell%2Ffakeredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catwell%2Ffakeredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catwell%2Ffakeredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catwell%2Ffakeredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catwell","download_url":"https://codeload.github.com/catwell/fakeredis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248786310,"owners_count":21161430,"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":["lua","redis"],"created_at":"2024-10-15T02:22:45.693Z","updated_at":"2025-04-13T21:32:41.783Z","avatar_url":"https://github.com/catwell.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fakeredis\n\n![CI Status](https://github.com/catwell/fakeredis/actions/workflows/ci.yml/badge.svg?branch=master)\n\n## Presentation\n\nfakeredis is a Redis mock for Lua with the same interface as [redis-lua](https://github.com/nrk/redis-lua).\n\n## Dependencies\n\nLua 5.1 users will need [Lua BitOp](http://bitop.luajit.org/).\n\nIf you do not set a custom sleep function and LuaSocket is not installed,\na busy wait will be used for `sleep()`.\n\nTests require [cwtest](https://github.com/catwell/cwtest).\n\n## Usage\n\n```lua\nlocal R = fakeredis.new()\nR:set(\"foo\", \"bar\")\nlocal foo = R:get(\"bar\")\n```\n\nSee [redis-lua](https://github.com/nrk/redis-lua) for more.\n\n## Design\n\nfakeredis tries to keep its interface compatible with redis-lua but is not fully complete, see supported.txt for supported commands.\n\nfakeredis does not support multiple DBs. You should probably not use them anyway. If you really need SELECT in tests it is easy to write a small wrapper that uses multiple instances of fakeredis.\n\n## Copyright\n\nCopyright (c) 2012-2022 Pierre Chapuis\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatwell%2Ffakeredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatwell%2Ffakeredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatwell%2Ffakeredis/lists"}