supabase-wechat-stable
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

supabase-wechat-stable

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

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>

Package Sidebar

Install

npm i supabase-wechat-stable

Weekly Downloads

0

Version

0.2.4

License

MIT

Unpacked Size

2.12 MB

Total Files

572

Last publish

Collaborators

  • lucarao