{"library":"fastify-redis-mock","type":"library","category":null,"description":"A Fastify plugin that provides a shared in-memory Redis mock client for unit testing, built on top of ioredis-mock. Version 1.1.0 is the latest stable release. It mirrors the fastify-redis API, allowing seamless switching between real and mock Redis clients for testing without a live Redis server. Maintained with low release cadence.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","mock","fastify","redis","database","speed","cache","ioredis-mock"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fastify-redis-mock","imports":["import redisMock from 'fastify-redis-mock'","const redisMock = require('fastify-redis-mock')","// @ts-ignore\nimport redisMock from 'fastify-redis-mock'","fastify.register(redisMock, { /* options */ })"]},{"cmd":"yarn add fastify-redis-mock","imports":[]},{"cmd":"pnpm add fastify-redis-mock","imports":[]}],"homepage":"https://github.com/Rubendewit/fastify-redis-mock#readme","github":"https://github.com/Rubendewit/fastify-redis-mock","docs":null,"changelog":null,"pypi":null,"npm":"fastify-redis-mock","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}