Skip to content

API Reference

ioredis-serverless uses the same API as ioredis. For complete documentation, see:

ioredis Documentation

Connection

The only difference is the connection URL. Instead of a TCP connection string, pass a WebSocket URL:

javascript
import Redis from '@bello-kv/ioredis-serverless'

const redis = new Redis({
  url: 'wss://your-proxy.example.com'
})

All other options, methods, and events are identical to ioredis.

Released under the MIT License.
Redis is a trademark of Redis Ltd.