Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/upstash_redis/platforms/cloudflare.ts>Redis.fromEnv

HTTP based Redis Client for Serverless and Edge Functions
Go to Latest
method Redis.fromEnv
import { Redis } from "https://deno.land/x/upstash_redis@v1.15.0/platforms/cloudflare.ts";

Parameters

optional
env: { UPSTASH_REDIS_REST_URL: string; UPSTASH_REDIS_REST_TOKEN: string; }
optional
opts: Omit<RedisConfigCloudflare, "url" | "token">