A small utility to create Redis clients from connection strings or option objects, decoupled from the `redis` npm package so users can choose their own version. Version 0.0.3 is the latest and only release; the project appears to be in early draft stage with no tests, no updates since initial publication, and a stated willingness to rename APIs. It provides a synchronous factory function and a partially-applied factory pattern. Compared to more mature solutions like ioredis or node-redis' built-in URL parsing, this package is minimal and unmaintained.
npm install basic-redis-factoryNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Redis client from a URL string using the factory, attaches an error listener, sets a key, then quits.
Use node-redis (redis) or ioredis directly instead of this factory.
Run `npm install redis` alongside this package.
Pass an options object with explicit host/port/password instead of a URL.
Ensure you require the correct `redis` package (version 2.x or 3.x) and pass it as the first argument.
Provide a valid Redis connection string or options object with correct host/port.