Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Supabase JS

Isomorphic JavaScript SDK for Supabase backend-as-a-service.

SDKs for hosted servicesNPM

GitHubWebsiteAPI page

1. License

License from npm.

github.com/supabase/supabase-js

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Supabase JS does

Supabase JS is one isomorphic client that bundles separate auth, database, realtime, storage and edge-function SDKs for a Supabase project, and it publishes an explicit runtime policy that drops end-of-life Node.js versions in minor releases.

Supabase JS popularity

82 / 100
Gid Score, #68 overall
67.9M
downloads a week, npm
4,615
GitHub stars
675
agent projects use it
Supabase JS: downloads per weeknpm, @supabase/supabase-js 67,874,403
Supabase JS: GitHub starssupabase/supabase-js 4,615

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Supabase JS is used

  • Supabase JS is a dependency in 675 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (13.9% of the 4,867 JavaScript/TypeScript ones), #1 of 287 in sdks for hosted services.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 1,601; those are left out of every share on this page.
  • The most used alternative in our scan is Firebase (97 projects).
  • Projects that use it most often also use React (86.5%), Lucide React (66.7%), Tailwind CSS (82.2%).
  • It is more common in projects set up for Roo Code (18.0%) than for OpenCode (5.8%).

By coding agent

349 projects, 14.3%
316 projects, 9.6%
286 projects, 9.4%
45 projects, 9.5%
40 projects, 14.3%
34 projects, 7.2%
20 projects, 5.8%
20 projects, 18.0%

Often used with

In 86.5% of its projects
In 66.7% of its projects
In 82.2% of its projects
In 58.5% of its projects
In 59.6% of its projects
In 59.7% of its projects
In 53.8% of its projects
In 41.5% of its projects

Supabase JS in practice

Strengths

One client for the whole Supabase backend

A single package covers database queries, realtime subscriptions, file upload and download, rpc calls to Postgres functions, edge functions and pgvector queries.

Sub-SDKs ship as their own packages

Auth, PostgREST, realtime, storage and functions each live as a separate package in the monorepo. The README's own install example pulls <code>@supabase/auth-js</code> on its own.

Runs beyond Node and the browser

The support policy names Deno, Bun, React Native and Cloudflare Workers alongside Node.js and browsers. Bun is described as having native fetch and Node.js API compatibility.

Provenance you can check from the npm CLI

The README shows how to verify registry signatures and provenance attestations with <code>npm audit signatures</code>. It also links a guide on defending installs against npm supply-chain attacks.

Watch out for

Node.js support ends in a minor release

Once a Node.js version leaves Active LTS or Maintenance, Supabase drops it in a minor release. The maintainers state this is not a breaking change, so a routine upgrade can stop supporting your runtime.

Older Node needs a pinned version

Node.js 18 support ended in <code>2.79.0</code> and Node.js 20 support ended in <code>2.110.0</code>. The README says to stay on <code>2.78.0</code> or <code>2.109.0</code> if you must keep those runtimes.

Realtime needs WebSocket in the browser

Browser support requires native <code>fetch</code>. Realtime features additionally require a native <code>WebSocket</code> API.

Install a Supabase package and verify its signature

npm install @supabase/auth-js
npm audit signatures

More about Supabase JS

Funding
  • GitHub Sponsors: https://github.com/supabase
  • 18 GitHub sponsors

See all

Agent Skills for it
  • supabase-js: This skill should be used when user asks to "use supabase-js", "query Supabase database", "supabase auth", "supabase storage", "supabase rea

See all

Head to head
Packages around it
  • lucide-react: Icon components
  • tailwind-merge: Tailwind class merging
  • tailwindcss: Utility-first CSS
  • clsx: Conditional class names
  • class-variance-authority: Variant class names
  • react: UI library
More in SDKs for hosted services

Alternatives

Supabase JS This page

MITGid 8267.9M/wk

Firebase

Google's platform SDK for realtime database, auth, hosting and serverless functions.

Apache-2.0Gid 7015.3M/wk

Compare Supabase JS with another tool

Get started

Install it.

npm install @supabase/supabase-js

Rules for your agent

Paste into AGENTS.md or CLAUDE.md
## Supabase JS
- Install `@supabase/supabase-js` and create the client with `createClient(process.env.SUPABASE_URL, process.env.SUPABASE_ANON_KEY)`, reading both values from environment variables as the official example does.
- Check the Node.js version first. Only Active LTS or Maintenance releases are supported. On Node.js 18 pin `2.78.0`, and on Node.js 20 pin `2.109.0`.
- Realtime code in the browser needs native `WebSocket`. React Native relies on fetch polyfills provided by the framework.
- Do not build on features marked experimental; the maintainers say they may be removed or changed without notice.
- Treat `UNUSED_EXTERNAL_IMPORT` warnings from Vite/Nuxt as false positives, per the README.
- After installing, run `npm audit signatures` to verify registry signatures and provenance.
- For API details, read the JavaScript reference at https://supabase.com/llms/js.txt. For schema and project work, use the Supabase MCP server listed in llms.txt.