supabase/supabase-js
supabase/supabase-js has 4,612 GitHub stars and 792 forks. GitHot measured -1 stars in 24 hours and +3 in 7 days. Last checked 2026-11-09 13:28 UTC. Last push 2026-11-02.
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.
Crecimiento de estrellas medido
- in 24h
- -1
- in 7 days
- +3
- in 15 days
- Actualización retrasada
- in 1 month
- Actualización retrasada
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalSupabase JS SDK
📦 Libraries
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 |
Support Policy
This section outlines the scope of support for various runtime environments in Supabase JavaScript client.
Node.js
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 Notice
Node.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.
⚠️ Node.js 20 Deprecation Notice
Node.js 20 reached end-of-life on April 30, 2026. As announced in our deprecation notice, support for Node.js 20 was dropped in version
2.110.0.If you must use Node.js 20, please use version
2.109.0, which is the last version that supported Node.js 20.
Deno
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.
Browsers
All modern browsers are supported. We support browsers that provide native fetch API. For Realtime features, browsers must also support native WebSocket API.
Bun
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.
React Native
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.
Cloudflare Workers
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.
Important Notes
- Experimental features: Features marked as experimental may be removed or changed without notice
- Build warnings: If you see
UNUSED_EXTERNAL_IMPORTwarnings from Vite/Nuxt, see the supabase-js README — these are false positives
Supabase Service Compatibility
The Supabase JavaScript SDK only guarantees compatibility with the latest release of each Supabase service, unless a minimum supported version is explicitly listed below.
Older service releases are supported on a best-effort basis, but compatibility is not guaranteed.
If you self-host Supabase, we recommend upgrading your services to their latest releases when upgrading the SDK.
| Service | SDK package | Server releases | Lowest supported version |
|---|---|---|---|
| Auth | @supabase/auth-js |
supabase/auth | Latest release |
| Storage | @supabase/storage-js |
supabase/storage | Latest release |
| Functions | @supabase/functions-js |
supabase/edge-runtime | Latest release |
| PostgREST | @supabase/postgrest-js |
PostgREST/postgrest | v12 |
| Realtime | @supabase/realtime-js |
supabase/realtime | Latest release |
Where a lowest supported version is listed, some features still need a newer server version. Those requirements are noted in the API reference for the feature.
🚀 Quick Start
Installation
npm install @supabase/supabase-js
Read more in each package's README file.
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
Quick Contribution Steps
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes and add tests
- Run tests (
pnpm nx affected --target=test) - Commit your changes (
pnpm commit) - Push to your branch (
git push origin feature/amazing-feature) - Open a Pull Request
Development Guidelines
- Follow conventional commits for commit messages
- Add tests for new functionality
- Update documentation for API changes
- Run
pnpm nx formatbefore committing - Ensure all tests pass with
pnpm nx affected --target=test
🧪 Testing
Testing varies per package. See the top-level TESTING.md for an overview and links to package-specific guides.
📚 Documentation
API Documentation
- 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
Architecture Documentation
- Contributing - Development guidelines
- Release Workflows - Release and publishing process
- Migration Guide - Cross-cutting migration notes (per-package migrations live alongside each package under
packages/core/<package>/migrations/) - Security Policy - Vulnerability reporting and disclosure policy
- Securing your npm installs - Consumer-side guide to defending your install against npm supply-chain attacks
🔐 Verifying provenance attestations
You can verify registry signatures and provenance attestations for installed packages using the npm CLI:
npm audit signatures
Quick example for a single package install:
npm install @supabase/auth-js
npm audit signatures
Example 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.
For a broader checklist — minimum release age, lockfile hygiene, blocking exotic transitive deps, lifecycle script controls, and what to do if you suspect a compromise — see Securing your npm installs.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🆘 Support
- Documentation: supabase.com/docs
- Community: GitHub Discussions
- Issues: GitHub Issues
- Discord: Supabase Discord
Website • Documentation • Community • Twitter
Explorar proyectos relacionados
Asabeneh/30-Days-Of-Python
El reto de programación 30 Days of Python es una guía paso a paso para aprender el lenguaje de programación Python en 30 días. Este reto puede llevar más de 100 días. Sigue tu propio ritmo. Estos vídeos también pueden ayudarte: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,486 estrellasgrafana/grafana
Plataforma abierta y componible de observabilidad y visualización de datos. Visualiza métricas, registros y trazas de múltiples fuentes, como Prometheus, Loki, Elasticsearch, InfluxDB, Postgres y muchas más.
77,790 estrellasredis/redis
Para los desarrolladores que crean aplicaciones en tiempo real basadas en datos, Redis es la opción preferida, la más rápida y la de más funciones como caché, servidor de estructuras de datos y motor de consultas de documentos y vectores.
77,332 estrellasapache/superset
Apache Superset es una plataforma de visualización y exploración de datos.
75,455 estrellas