Skip to main content
This release is 1 version behind 0.3.0 — the latest version of @mastermakrela/elysia-supabase. Jump to latest

Built and signed on GitHub Actions

Plugin for elysia to automatically authenticate Supabase user and create Supabase client for them.

This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
4 weeks ago (0.2.0)

This module contains functions to add supabase authentication to Elysia.

Examples

Example 1

import { Elysia } from 'elysia'
import { supabase } from "@mastermakrela/elysia-supabase";

const app = new Elysia()
	.use(supabase())
	.get('/', ({ supabase, user }) => `Hi ${user.email}`)
	.listen(3000)
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@mastermakrela/elysia-supabase

Import symbol

import * as _mastermakrela_elysia_supabase from "@mastermakrela/elysia-supabase";

---- OR ----

Import directly with a jsr specifier

import * as _mastermakrela_elysia_supabase from "jsr:@mastermakrela/elysia-supabase";

Add Package

npx jsr add @mastermakrela/elysia-supabase

Import symbol

import * as _mastermakrela_elysia_supabase from "@mastermakrela/elysia-supabase";

Add Package

yarn dlx jsr add @mastermakrela/elysia-supabase

Import symbol

import * as _mastermakrela_elysia_supabase from "@mastermakrela/elysia-supabase";

Add Package

pnpm dlx jsr add @mastermakrela/elysia-supabase

Import symbol

import * as _mastermakrela_elysia_supabase from "@mastermakrela/elysia-supabase";

Add Package

bunx jsr add @mastermakrela/elysia-supabase

Import symbol

import * as _mastermakrela_elysia_supabase from "@mastermakrela/elysia-supabase";