graphql-pg-subscriptions
JSON →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.