🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@papi-ai/adapter-pg

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@papi-ai/adapter-pg

PAPI PostgreSQL adapter — read/write shared layer entities in PostgreSQL

Source
npmnpm
Version
0.2.7
Version published
Weekly downloads
257
-22.36%
Maintainers
1
Weekly downloads
 
Created
Source

@papi/adapter-pg

PostgreSQL adapter for PAPI. Reads and writes project data to a Supabase-hosted PostgreSQL database.

Overview

This adapter implements the PapiAdapter interface using PostgreSQL (via Supabase) as the storage backend. It's the recommended adapter for hosted/production usage — all data is stored in the database with Row Level Security (RLS) for multi-tenant isolation.

Installation

npm install @papi/adapter-pg

This adapter is bundled into @papi/server — install separately only if building custom tooling.

Configuration

Set these environment variables to connect to your Supabase instance:

VariableRequiredDescription
DATABASE_URLYesPostgreSQL connection string
PAPI_PROJECT_IDYesUUID identifying your project in the database

License

MIT

Keywords

papi

FAQs

Package last updated on 26 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts