{
 "kind": "tool",
 "slug": "supabase-supabase-js",
 "path": "tools/supabase-supabase-js/",
 "name": "Supabase JS",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "SDKs for hosted services",
   "tools/service-sdks/"
  ]
 ],
 "lead": "Isomorphic JavaScript SDK for Supabase backend-as-a-service.",
 "chips": [
  {
   "label": "SDKs for hosted services",
   "path": "tools/service-sdks/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @supabase/supabase-js"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/supabase/supabase-js"
  },
  {
   "label": "Website",
   "href": "https://github.com/supabase/supabase-js/tree/master/packages/core/supabase-js"
  },
  {
   "label": "API page",
   "path": "apis/supabase-pgvector/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/supabase/supabase-js"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Nov 19, 2026. ",
   "src": "https://github.com/supabase/supabase-js"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "675 projects",
   "status": "info",
   "sub": "#1 of 287 in its category",
   "note": "Dependency in 675 public GitHub projects set up for AI coding agents that we scanned (10.8%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Docs for agents",
   "status": "yes",
   "sub": "llms.txt",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": "https://supabase.com/llms.txt"
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Supabase JS does",
   "parts": [
    {
     "t": "prose",
     "text": "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."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Supabase JS popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "82",
       "of": "/ 100",
       "l": "Gid Score, #68 overall"
      },
      {
       "n": "67.9M",
       "l": "downloads a week, npm"
      },
      {
       "n": "4,615",
       "l": "GitHub stars"
      },
      {
       "n": "675",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Supabase JS is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "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%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "349 projects, 14.3%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "316 projects, 9.6%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "286 projects, 9.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "45 projects, 9.5%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "40 projects, 14.3%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      },
      {
       "l": "34 projects, 7.2%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "20 projects, 5.8%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "20 projects, 18.0%",
       "v": "Roo Code",
       "path": "agents/roo-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 86.5% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 66.7% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 82.2% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 58.5% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 59.6% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 59.7% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 53.8% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      },
      {
       "l": "In 41.5% of its projects",
       "v": "Supabase SSR",
       "path": "tools/supabase-ssr/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "Supabase JS in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "One client for the whole Supabase backend",
       "v": "A single package covers database queries, realtime subscriptions, file upload and download, rpc calls to Postgres functions, edge functions and pgvector queries."
      },
      {
       "l": "Sub-SDKs ship as their own packages",
       "v": "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."
      },
      {
       "l": "Runs beyond Node and the browser",
       "v": "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."
      },
      {
       "l": "Provenance you can check from the npm CLI",
       "v": "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."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Node.js support ends in a minor release",
       "v": "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."
      },
      {
       "l": "Older Node needs a pinned version",
       "v": "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."
      },
      {
       "l": "Realtime needs WebSocket in the browser",
       "v": "Browser support requires native <code>fetch</code>. Realtime features additionally require a native <code>WebSocket</code> API."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Install a Supabase package and verify its signature"
    },
    {
     "t": "tabs",
     "label": "Example",
     "items": [
      {
       "tab": "Bash",
       "code": "npm install @supabase/auth-js\nnpm audit signatures"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about Supabase JS",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/supabase",
        "18 GitHub sponsors"
       ]
      },
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "supabase-js: This skill should be used when user asks to \"use supabase-js\", \"query Supabase database\", \"supabase auth\", \"supabase storage\", \"supabase rea"
       ]
      },
      {
       "title": "Head to head",
       "items": [
        {
         "text": "Supabase JS vs Firebase",
         "note": "used together in 14 projects",
         "path": "tools/compare/supabase-js-vs-firebase/"
        }
       ]
      },
      {
       "title": "Packages around it",
       "items": [
        "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"
       ]
      },
      {
       "title": "More in SDKs for hosted services",
       "path": "tools/service-sdks/",
       "items": [
        {
         "text": "Supabase SSR",
         "path": "tools/supabase-ssr/"
        },
        {
         "text": "AWS SDK for JavaScript (S3)",
         "path": "tools/aws-sdk-client-s3/"
        },
        {
         "text": "Resend",
         "path": "tools/resend-npm/"
        },
        {
         "text": "Stripe (JavaScript)",
         "path": "tools/stripe-node/"
        },
        {
         "text": "Supabase CLI",
         "path": "tools/supabase-npm/"
        },
        {
         "text": "Stripe.js",
         "path": "tools/stripe-npm/"
        },
        {
         "text": "Google APIs Client Library",
         "path": "tools/googleapis/"
        },
        {
         "text": "google-auth",
         "path": "tools/google-auth/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Supabase JS",
       "me": true,
       "facts": [
        "MIT",
        "Gid 82",
        "67.9M/wk"
       ]
      },
      {
       "name": "Firebase",
       "why": "Google's platform SDK for realtime database, auth, hosting and serverless functions.",
       "path": "tools/firebase-node/",
       "facts": [
        "Apache-2.0",
        "Gid 70",
        "15.3M/wk"
       ]
      }
     ],
     "more": "Compare Supabase JS with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @supabase/supabase-js"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## Supabase JS\n- 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.\n- 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`.\n- Realtime code in the browser needs native `WebSocket`. React Native relies on fetch polyfills provided by the framework.\n- Do not build on features marked experimental; the maintainers say they may be removed or changed without notice.\n- Treat `UNUSED_EXTERNAL_IMPORT` warnings from Vite/Nuxt as false positives, per the README.\n- After installing, run `npm audit signatures` to verify registry signatures and provenance.\n- 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.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @supabase/supabase-js"
  ],
  [
   "Category",
   "SDKs for hosted services"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Latest version",
   "v2.117.3, October 7, 2026"
  ],
  [
   "On GitHub since",
   "May 2020"
  ],
  [
   "Gid Score",
   "82.0"
  ],
  [
   "Rank in category",
   "#1 of 287"
  ],
  [
   "GitHub",
   "supabase/supabase-js"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/supabase.png"
}