For contributors: Repository Structure Changed
This repository has been restructured as a monorepo. All libraries, including
supabase-jsitself, have moved topackages/core/:
What You're Looking For Where It Is Now Main supabase-js code packages/core/supabase-js/Other libraries packages/core/*/Read the Migration Guide to learn more.
This monorepo contains the complete suite of Supabase JavaScript SDK:
| Library | Description |
|---|---|
| @supabase/supabase-js | Main isomorphic SDK for Supabase |
| @supabase/auth-js | Authentication SDK |
| @supabase/postgrest-js | PostgREST SDK for database operations |
| @supabase/realtime-js | Real-time subscriptions SDK |
| @supabase/storage-js | File storage SDK |
| @supabase/functions-js | Edge Functions SDK |
This section outlines the scope of support for various runtime environments in Supabase JavaScript client.
We only support Node.js versions that are in Active LTS or Maintenance status as defined by the official Node.js release schedule. This means we support versions that are currently receiving long-term support and critical bug fixes.
When a Node.js version reaches end-of-life and is no longer in Active LTS or Maintenance status, Supabase will drop it in a minor release, and this won't be considered a breaking change.
β οΈ Node.js 18 Deprecation NoticeNode.js 18 reached end-of-life on April 30, 2025. As announced in our deprecation notice, support for Node.js 18 was dropped in version
2.79.0.If you must use Node.js 18, please use version
2.78.0, which is the last version that supported Node.js 18.
We support Deno versions that are currently receiving active development and security updates. We follow the official Deno release schedule and only support versions from the stable and lts release channels.
When a Deno version reaches end-of-life and is no longer receiving security updates, Supabase will drop it in a minor release, and this won't be considered a breaking change.
All modern browsers are supported. We support browsers that provide native fetch API. For Realtime features, browsers must also support native WebSocket API.
We support Bun runtime environments. Bun provides native fetch support and is compatible with Node.js APIs. Since Bun does not follow a structured release schedule like Node.js or Deno, we support current stable versions of Bun and may drop support for older versions in minor releases without considering it a breaking change.
We support React Native environments with fetch polyfills provided by the framework. Since React Native does not follow a structured release schedule, we support current stable versions and may drop support for older versions in minor releases without considering it a breaking change.
We support Cloudflare Workers runtime environments. Cloudflare Workers provides native fetch support. Since Cloudflare Workers does not follow a structured release schedule, we support current stable versions and may drop support for older versions in minor releases without considering it a breaking change.
- Experimental features: Features marked as experimental may be removed or changed without notice
npm install @supabase/supabase-jsRead more in each package's README file.
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes and add tests
- Run tests (
npx nx affected --target=test) - Commit your changes (
npm run commit) - Push to your branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow conventional commits for commit messages
- Add tests for new functionality
- Update documentation for API changes
- Run
npx nx formatbefore committing - Ensure all tests pass with
npx nx affected --target=test
Testing varies per package. See the top-level TESTING.md for an overview and links to package-specific guides.
- Auth SDK - Authentication and user management
- Database SDK - Database queries and operations
- Realtime SDK - Real-time subscriptions
- Storage SDK - File upload and management
- Functions SDK - Edge Functions invocation
- Main SDK - Combined SDK
- Contributing - Development guidelines
- Release Workflows - Release and publishing process
- Migration Guide - Migrating to the monorepo structure
- Security Policy - Security guidelines and reporting
You can verify registry signatures and provenance attestations for installed packages using the npm CLI:
npm audit signaturesQuick example for a single package install:
npm install @supabase/auth-js
npm audit signaturesExample output:
audited 1 package in 0s
1 package has a verified registry signature
Because provenance attestations are a new capability, security features may evolve over time. Ensure you are using the latest npm CLI to verify attestation signatures reliably. This may require updating npm beyond the version bundled with Node.js.
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: supabase.com/docs
- Community: GitHub Discussions
- Issues: GitHub Issues
- Discord: Supabase Discord
Website β’ Documentation β’ Community β’ Twitter