Javascript Reference v2.0

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 JSR:


_10
import { createClient } from 'jsr:@supabase/supabase-js@2'