graphql-ws
Zero-dependency GraphQL over WebSocket server and client library for JavaScript, with adapters for common WebSocket servers.
the-guild.dev/graphql/wsrepositorydocs
graphql-ws is a JavaScript library that implements the GraphQL over WebSocket protocol for both a server and a client. The get-started guide shows servers built on ws, uWebSockets.js, Fastify, Bun, Deno and crossws. The homepage describes the library as zero-dependency.
Worth knowing
The README says the library and the protocol are not cross-compatible with subscriptions-transport-ws, a deprecated package.
Identity
- Status
- Active
- Maintainer
- Denis Badurina4
- Maintained by
- Individual
- First release
- 20202
Rendering and deploy
- Install with
- npm6
Releases
Adoption
Sources
- 2026-11-09: links
the-guild.dev/graphql/ws - 2026-11-09: links, First release, Written in, License, License model, GitHub stars
api.github.com/repos/enisdenjo/graphql-ws - 2026-11-09: links, Categories
github.com/enisdenjo/graphql-ws/blob/master/README.md - 2026-11-09: Maintainer
github.com/enisdenjo/graphql-ws/blob/master/LICENSE.md - 2026-11-09: Runtime, Minimum runtime
registry.npmjs.org/graphql-ws/6.4.1 - 2026-11-09: Install with
the-guild.dev/graphql/ws/guides - 2026-11-09: Current major version, Last release
registry.npmjs.org/graphql-ws - 2026-11-09: Contributors
github.com/enisdenjo/graphql-ws - 2026-11-09: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/graphql-ws - 2026-11-09: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/graphql-ws