Skip to main content

supabase-common

Shared, tree-shakeable TypeScript helpers for Supabase — zero runtime dependencies.

import { unwrap } from '@rtorcato/supabase-common'

// Throws SupabaseError on error, returns the row otherwise.
const user = unwrap(await supabase.from('users').select().single())
npm install @rtorcato/supabase-common

Sibling projects

More from @rtorcato — same conventions, same release pipeline.