enisdenjo/graphql-ws
Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client. observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 96
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 11.5
- age_days: 2226
- days_rel: 27
- days_push: 27
- n_releases_24m: 15
Adoption not part of the score
1871 stars · 176 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A zero-dependency TypeScript library implementing both a client and server for the GraphQL over WebSocket Protocol, used for GraphQL subscriptions and queries over WebSockets. It is the reference implementation of the spec and supports integrations with Express, Fastify, uWebSockets, Apollo, and Relay.
Use cases
- add graphql subscriptions over websockets to my server
- replace deprecated subscriptions-transport-ws
- graphql client with reconnection and lazy connection
- use graphql subscriptions with apollo or relay
- implement graphql over websocket protocol compliant transport
- measure connection latency with ping/pong keepalive
When to choose
- you need spec-compliant GraphQL over WebSocket on both client and server
- you want a zero-dependency, small-bundle subscriptions transport
- you need resilient reconnection strategies and auth hooks
When to avoid
- you need compatibility with the legacy subscriptions-transport-ws protocol
- you prefer Server-Sent Events transport (use graphql-sse instead)
- your stack is not JavaScript/TypeScript
Facets
library · maturity stable
websocket graphql http-server http-client web-development browser graphql-subscriptions graphql-over-websocket-protocol apollo relay express fastify uwebsockets the-guild graphql real-time nodejs typescript web-server
3 sources
- readme: https://github.com/enisdenjo/graphql-ws · fetched 2026-08-28 · b1fb30f1d545
- homepage: https://the-guild.dev/graphql/ws · fetched 2026-08-29 · 6753bd7d6c50
- site_page: https://the-guild.dev/about-us · fetched 2026-08-29 · 4c4f11519fb9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| enisdenjo/graphql-ws | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="enisdenjo/graphql-ws")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem