alepha@docs:~/docs/packages/alepha$
cat redis.md1 min read
Last commit:
#Alepha - Redis
#Installation
Part of the alepha package. Import from alepha/redis.
npm install alepha
#Overview
Redis client wrapper.
Features:
- Connection pooling
- Automatic reconnection
- Command pipelining
- Pub/sub support
#API Reference
#Providers
BunRedisProvider— Bun Redis client provider using Bun's native Redis client.BunRedisSubscriberProvider— Bun Redis subscriber provider for pub/sub operations.NodeRedisProvider— Node.js Redis client provider using@redis/client.NodeRedisSubscriberProvider— Node.js Redis subscriber provider using@redis/client.
#Environment Variables
Environment variables used to configure this module. These can be set in your .env file or through your deployment configuration.
| Variable | Type | Default | Description |
|---|---|---|---|
REDIS_URL |
text | redis://localhost:6379 | Redis connection URL |