@tummycrypt/tinyland-auth-pg

v0.2.1 NPM Authentication

PostgreSQL storage adapter for tinyland-auth -- Drizzle ORM, Neon serverless

Install

npm install @tummycrypt/tinyland-auth-pg

Overview

PostgreSQL storage adapter for @tummycrypt/tinyland-auth, backed by Drizzle ORM with driver-agnostic construction and multi-tenant scoping. Supports Neon HTTP, postgres.js, and node-postgres. Use createNodePgStorageAdapter() when you want the package to own a pg.Pool, or createPgStorageAdapter({ db }) when you already have a pre-built Drizzle client. > 0.2.0 is a breaking release. Every adapter method now takes tenantId: string > as its first parameter. Every row-bearing table has tenantid uuid...
authpostgresdrizzlesessions