A lightweight Redis client for Node.js, version 0.3.5. Provides basic Redis commands like get, set, del, incr, and support for key expiry. Released in early Node.js days (circa 2011) and no longer actively maintained. Not for production use. Modern alternatives: ioredis or redis (node_redis).
npm install redis-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to Redis, sets a key, and retrieves it. Uses callback pattern. Note: Redis server must be running on localhost:6379.
Migrate to ioredis or node_redis (redis npm package).
Use modern Redis clients with async/await support.
Instantiate with new RedisClient() instead of calling as function.
Use import RedisClient from 'redis-client' or const RedisClient = require('redis-client').default if using CommonJS.Ensure Redis is started: redis-server. Or pass custom options: new RedisClient({host: '...', port: ...}).No dependency data recorded yet.