TypedGraphQLSubscriptions
JSON →typed-graphql-subscriptions (v0.0.1) is a TypeScript library that provides a type-safe wrapper around the graphql-subscriptions PubSub engine. It enforces channel names and payload types via generics, reducing runtime errors in GraphQL subscription publishing. The library is maintained by ContraWork and ships with TypeScript definitions. Key differentiators: strict type safety over plain graphql-subscriptions, support for composite channel names like chatMessageReceived:42, and compatibility with any PubSubEngine implementation.