New:Socket for Asana Is Now Available.Learn more
Get Started

@papi-ai/adapter-pg

Package Overview
Dependencies
Maintainers
1
Versions
24
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.12
Version published
Weekly downloads
937
-25.34%
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 18 Aug 2026

Related posts