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

x/live/deps.ts>supabase.createClient

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
variable supabase.createClient
import { supabase } from "https://deno.land/x/live@1.60.4/deps.ts";
const { createClient } = supabase;

Creates a new Supabase Client.

type

<Database = any, SchemaName extends string & keyof Database = "public" extends keyof Database ? "public" : string & keyof Database, Schema extends GenericSchema = Database[SchemaName] extends GenericSchema ? Database[SchemaName] : any>(
supabaseUrl: string,
supabaseKey: string,
options?: SupabaseClientOptions<SchemaName> | undefined,
) => SupabaseClient<Database, SchemaName, Schema>