{"library":"async-redis-mock","type":"library","category":null,"description":"Async Redis client mock object for unit testing that replaces async-redis in test environments. Current stable version is 2.0.1. It is actively maintained and offers in-memory Redis command simulation so that no actual Redis server is needed. Key differentiators: it provides a drop-in replacement for async-redis with a comprehensive set of mocked commands, allowing tests to run quickly and isolated. It supports common Redis commands like SET, GET, DEL, EXPIRE, and more, and integrates easily with testing frameworks like Jest and Mocha.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","async","redis","mock","test","async-redis","redis-mock"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install async-redis-mock","imports":["import asyncRedisMock from 'async-redis-mock';","import asyncRedisMock from 'async-redis-mock';\nconst client = asyncRedisMock.createClient();","import asyncRedisMock from 'async-redis-mock';\nconst client: ReturnType<typeof asyncRedisMock.createClient> = asyncRedisMock.createClient();"]},{"cmd":"yarn add async-redis-mock","imports":[]},{"cmd":"pnpm add async-redis-mock","imports":[]}],"homepage":"https://github.com/vergesense/async-redis-mock#readme","github":"https://github.com/vergesense/async-redis-mock","docs":null,"changelog":null,"pypi":null,"npm":"async-redis-mock","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}