{"library":"pg-notify","type":"library","category":null,"description":"pg-notify (v1.0.6) is a lightweight Postgres pub/sub client using PostgreSQL's built-in NOTIFY/LISTEN commands, built on top of the popular pg library. It provides automatic reconnection, payload size validation (default max 7999 bytes to match PostgreSQL's limit), and channel/payload sanitization. Active maintenance with frequent releases, focused on simplicity and minimal overhead compared to alternatives like pg-pubsub or message brokers.","language":"javascript","status":"active","version":"1.0.6","tags":["javascript","postgres","pubsub","pg","notify","listen","subscribe","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pg-notify","imports":["import PGPubSub from 'pg-notify'","const PGPubSub = require('pg-notify')","import type { PGPubSubOptions, PGPubSubListenEvent } from 'pg-notify'"]},{"cmd":"yarn add pg-notify","imports":[]},{"cmd":"pnpm add pg-notify","imports":[]}],"homepage":"https://github.com/aldis-ameriks/pg-notify#readme","github":"https://github.com/aldis-ameriks/pg-notify","docs":null,"changelog":null,"pypi":null,"npm":"pg-notify","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}