Prepare for the PgBouncer and IPv4 deprecations on 26th January 2024

Home

Installing

Install as package

You can install @supabase/supabase-js via the terminal.

Terminal

_10
npm install @supabase/supabase-js

Install via CDN

You can install @supabase/supabase-js via CDN links.


_10
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
_10
//or
_10
<script src="https://unpkg.com/@supabase/supabase-js@2"></script>

Use at runtime in Deno

You can use supabase-js in the Deno runtime via esm.sh:


_10
import { createClient } from 'https://esm.sh/@supabase/supabase-js@2'