constructor(client, opts) {
    this.client = client;
    this.opts = opts;
    this.enableTelemetry = opts?.enableTelemetry ?? true;
    if (opts?.readYourWrites === false) {
      this.client.readYourWrites = false;
    }
    this.enableAutoPipelining = opts?.enableAutoPipelining ?? true;
  }
Create a new redis client

@example
```typescript
const redis = new Redis({
 url: "<UPSTASH_REDIS_REST_URL>",
 token: "<UPSTASH_REDIS_REST_TOKEN>",
});
```