{"library":"graphql-pg-subscriptions","type":"library","category":null,"description":"A GraphQL subscriptions implementation using PostgreSQL and Apollo's graphql-subscriptions PubSubEngine interface. v3.3.0 is the current stable release. This package allows multiple subscription manager instances to share a PostgreSQL-based PubSub mechanism, supporting large payloads via an optional table (usePayloadTable) to bypass PG NOTIFY's 8000-byte limit. It provides TypeScript types, a commonMessageHandler for transforming messages (e.g. injecting DataLoaders), and an 'error' event for handling failures like oversized payloads. Actively maintained by a solo developer with a focus on simplicity and small size, it works with Express.js and NestJS but is not designed for high-throughput or clustered deployments without additional configuration.","language":"javascript","status":"active","version":"3.3.0","tags":["javascript","pubsub","pub/sub for pg","pub/sub for postgreesql","graphql","graphql-subscriptions","graphql-pg-subscriptions","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install graphql-pg-subscriptions","imports":["import { PostgresPubSub } from 'graphql-pg-subscriptions'","import { commonMessageHandler } from 'graphql-pg-subscriptions'; // Not directly exported; it's a configuration option","import { withPostgresPubSub } from 'graphql-pg-subscriptions'"]},{"cmd":"yarn add graphql-pg-subscriptions","imports":[]},{"cmd":"pnpm add graphql-pg-subscriptions","imports":[]}],"homepage":"https://github.com/siamahnaf/graphql-pg-subscriptions","github":"https://github.com/siamahnaf/graphql-pg-subscriptions","docs":null,"changelog":null,"pypi":null,"npm":"graphql-pg-subscriptions","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}