GraphQL over WebSocket Protocol Client & Server

JSON →
library 6.0.8 ·javascript
verified May 27, 2026

graphql-ws is a JavaScript/TypeScript library that provides a coherent, zero-dependency, and lazy implementation of the GraphQL over WebSocket Protocol for both server and client applications. The current stable version is 6.0.8, with a development cadence that includes frequent patch releases for bug fixes and minor enhancements. Major versions, like v6, typically introduce targeted breaking changes related to API adjustments or adapter integrations. A crucial differentiator is its strict adherence to the modern GraphQL over WebSocket Protocol, which makes it explicitly incompatible with the older, deprecated `subscriptions-transport-ws` library and its distinct protocol. The library offers flexible integration with various Node.js WebSocket server implementations such as `ws`, Fastify's `@fastify/websocket`, and `crossws`, catering to diverse server environments.

total hits 38
actors 9 distinct systems
last hit 1d ago human
Amazonbot
5
MetaBot
4
GPTBot
2
Script
1
ByteDance
1
Search engines
2
Humans
2

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇳🇴 Norway · 🇸🇬 Singapore · 🇩🇪 Germany