{"library":"serverless-postgres","type":"library","category":null,"description":"Serverless-postgres is a wrapper for node-postgres (pg) designed for serverless/FaaS environments like AWS Lambda. Current stable version is 2.1.2, released via semantic-release. It manages database connections to prevent 'too many clients' errors by garbage collecting zombie connections and retrying with backoff on failure. Key differentiators: connection filtering via application_name (v2+), automatic connection cleanup, and configurable retry delays. Unlike raw pg, it addresses connection pooling issues in serverless contexts.","language":"javascript","status":"active","version":"2.1.2","tags":["javascript","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install serverless-postgres","imports":["import ServerlessClient from 'serverless-postgres'","import type { ServerlessClient } from 'serverless-postgres'","import type { Config } from 'serverless-postgres'"]},{"cmd":"yarn add serverless-postgres","imports":[]},{"cmd":"pnpm add serverless-postgres","imports":[]}],"homepage":"https://github.com/MatteoGioioso/serverless-pg#readme","github":"https://github.com/MatteoGioioso/serverless-pg","docs":null,"changelog":null,"pypi":null,"npm":"serverless-postgres","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}