{"library":"redis-memory-server","type":"library","category":null,"description":"redis-memory-server is a utility that programmatically starts a real Redis server instance from Node.js, primarily designed for testing and development mocking. As of version 0.16.0, it provides an isolated, in-memory Redis environment for integration tests, allowing multiple instances to run concurrently on different ports. The package automatically handles downloading and compiling the `redis-server` binary, caching it for subsequent runs to improve performance. It is inspired by `mongodb-memory-server` and differentiates itself by providing a genuine Redis instance rather than a mock, ensuring high fidelity for integration testing. It supports Node.js environments version 18 and above, ships with TypeScript types, and abstracts away the complexities of managing Redis processes for testing workflows. Its release cadence appears active, with consistent updates for features and bug fixes.","language":"javascript","status":"active","version":"0.16.0","tags":["javascript","redis","mock","stub","redis-prebuilt","typescript"],"install":[{"cmd":"npm install redis-memory-server","imports":["import { RedisMemoryServer } from 'redis-memory-server'","import { RedisMemoryServer } from 'redis-memory-server'","import type { RedisMemoryServerOpts } from 'redis-memory-server'"]},{"cmd":"yarn add redis-memory-server","imports":[]},{"cmd":"pnpm add redis-memory-server","imports":[]}],"homepage":null,"github":"https://github.com/mhassan1/redis-memory-server","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/redis-memory-server","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/redis-memory-server/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}