Overview
The supabase-js is an Isomorphic JavaScript Client designed for the Supabase platform. It allows users to interact with Supabase databases and perform various operations. The documentation for this client can be found on the Supabase website.
Features
- Installation: Users can easily install the library to start using the Supabase JavaScript client.
- Establish Connection: You can import the library and establish a connection with the database using this client.
- UMD and ESM Support: The library can be imported using UMD or ESM syntax, providing flexibility in usage.
- Deno Support: Users can utilize the Supabase client in the Deno runtime environment.
- Custom Fetch Implementation: Supports alternative fetch implementations for environments where cross-fetch is not compatible.
- Sponsors: Support from sponsors contributes to the development of the features and open-source nature of the product.
Installation
To install the supabase-js library, you can use various methods:
UMD usage:
<script src="https://cdn.jsdelivr.net/npm/supabase-js@1.0.0"></script>
ESM usage:
<script type="module" src="https://cdn.jsdelivr.net/npm/supabase-js@1.0.0"></script>
Deno usage:
import * as supabase from 'https://cdn.jsdelivr.net/npm/supabase-js@1.0.0/index.js';
Summary
The supabase-js is a versatile Isomorphic JavaScript Client for the Supabase platform. It offers various methods of installation and usage, making it accessible to developers in different environments. With features like support for Deno and custom fetch implementations, this client provides a robust solution for interacting with Supabase databases. Moreover, the contributions from sponsors further enhance the open-source ecosystem and enable the continual improvement of the product.