supabase-js

An isomorphic Javascript client for Supabase. Query your Supabase database, subscribe to realtime events, upload and download files, browse typescript examples,

What is supabase-js?

An isomorphic Javascript client for Supabase. Query your Supabase database, subscribe to realtime events, upload and download files, browse typescript examples, invoke postgres functions via rpc, invoke supabase edge functions, query pgvector.

Overview of supabase-js

What it is

supabase-js is an isomorphic JavaScript client for Supabase. It is the main SDK in a monorepo that also includes libraries for authentication (@supabase/auth-js), database operations (@supabase/postgrest-js), real-time subscriptions (@supabase/realtime-js), file storage (@supabase/storage-js), and edge functions (@supabase/functions-js). The client supports multiple runtime environments including Node.js (Active LTS or Maintenance versions), Deno (stable and lts channels), modern browsers (with native fetch and WebSocket for Realtime), Bun, React Native, and Cloudflare Workers. The project is licensed under the MIT License and is open source.

Key features

  • Query a Supabase database - Subscribe to realtime events - Upload and download files - Invoke Postgres functions via RPC - Invoke Supabase Edge Functions - Query pgvector - Authentication and user management (via @supabase/auth-js)

Use cases

Building web and mobile applications that require a backend with database queries, real-time data synchronization, file storage and management, user authentication, serverless function invocation, and vector similarity search. The SDK is designed for isomorphic usage, meaning it can run in both browser and server environments.

Getting started

bash npm install @supabase/supabase-js For more detailed setup and usage, see the repository README.

License and pricing

The project is licensed under the MIT License. It is open source with no stated pricing.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/supabasesupabase-js.svg)](https://yunodb.com/tools/supabasesupabase-js?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/supabasesupabase-js?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/supabasesupabase-js.svg" alt="Featured on YunoDB" height="20"></a>