Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

supabase-wechat-stable

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

supabase-wechat-stable

Isomorphic Javascript client for Supabase

latest
Source
npmnpm
Version
0.2.4
Version published
Weekly downloads
7
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

supabase-wechat-stable

supabase的一个同构的JavaScript客户端。

  • Documentation: https://supabase.com/docs/client/supabase-client
  • TypeDoc: https://supabase.github.io/supabase-js

Usage

首先,你需要安装这个库。

npm install supabase-wechat-stable

然后你就可以导入库并与数据库建立连接。

import { createClient } from 'supabase-wechat-stable'

// Create a single supabase client for interacting with your database
const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')

然后你可以从一个全局的supabase变量中使用它。

<script>
  const { createClient } = supabase
  const _supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')

  console.log('Supabase Instance: ', _supabase)
  // ...
</script>

Keywords

javascript

FAQs

Package last updated on 14 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts