@lucia-auth/adapter-postgresql
TypeScript icon, indicating that this package has built-in type declarations

3.1.2 • Public • Published

@lucia-auth/adapter-postgresql

PostgreSQL adapter for Lucia.

Documentation

Lucia documentation

Changelog

Supported drivers

Installation

npm install @lucia-auth/adapter-postgresql
pnpm add @lucia-auth/adapter-postgresql
yarn add @lucia-auth/adapter-postgresql

Testing

node-postgres

Set PostgreSQL database connection url in .env:

POSTGRES_DATABASE_URL="postgresql://localhost/lucia"
pnpm test.node-postgres

Postgres.js

Set PostgreSQL database connection url in .env:

POSTGRES_DATABASE_URL="postgresql://localhost/lucia"
pnpm test.postgresjs

Neon HTTP

Set the connection URL in .env. Do not enable pooling.

NEON_CONNECTION_URL=""
pnpm test.neon-http

Package Sidebar

Install

npm i @lucia-auth/adapter-postgresql

Weekly Downloads

5,074

Version

3.1.2

License

MIT

Unpacked Size

14.7 kB

Total Files

14

Last publish

Collaborators

  • pilcrowonpaper